Skip to content

Commit

Permalink
removed biblib import of custom GUID from alembic upgrade. (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjacovich authored Feb 3, 2023
1 parent 99b7339 commit f2e8c04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions alembic/versions/4039aa74290f_sqlalchemy_versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
import biblib.models

# revision identifiers, used by Alembic.
revision = '4039aa74290f'
Expand All @@ -17,7 +16,7 @@
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('library_version',
sa.Column('id', biblib.models.GUID(), autoincrement=False, nullable=False),
sa.Column('id', postgresql.UUID(), autoincrement=False, nullable=False),
sa.Column('name', sa.String(length=50), autoincrement=False, nullable=True),
sa.Column('description', sa.String(length=200), autoincrement=False, nullable=True),
sa.Column('public', sa.Boolean(), autoincrement=False, nullable=True),
Expand Down

0 comments on commit f2e8c04

Please sign in to comment.