title: alembic create_table using declarative_base derived objects
body: <p>I have an Alchemy ORM object:</p>
  
  <pre><code>from sqlalchemy.ext.declarative import declarative_base
  Base = declarative_base()
  
  
  class MyORM(Base):
      id = Column(Integer, primary_key=True)
      name = Column(String(128), unique=True, nullable=False)
  </code></pre>
  
  <p>When using alembic to create the table I do the following:</p>
  
  <pre><code>def upgrade():
      op.create_table(
          'myorm',
          sa.Column('id', sa.Integer, primary_key=True),
          sa.Column('name', sa.String(128), nullable=False),
      )
  </code></pre>
  
  <p><strong>Question:</strong> Is there a way to use the MyORM class to create the table? Something like this:</p>
  
  <pre><code>def upgrade():
      op.create_table(
          'myorm',
          sa.BaseObject(MyORM)
      )
  </code></pre>