Compare commits

..

No commits in common. "1ccd4456f6c2d040adc3f9473564f29369ffa862" and "acdb62877735f682cf392b4e2aa0cb48b21f0977" have entirely different histories.

View File

@ -26,7 +26,6 @@ chore_frequency_enum = postgresql.ENUM('one_time', 'daily', 'weekly', 'monthly',
chore_type_enum = postgresql.ENUM('personal', 'group', name='choretypeenum', create_type=False)
def upgrade(context) -> None:
def create_enums():
user_role_enum.create(op.get_bind(), checkfirst=True)
split_type_enum.create(op.get_bind(), checkfirst=True)
expense_split_status_enum.create(op.get_bind(), checkfirst=True)
@ -35,8 +34,6 @@ def upgrade(context) -> None:
chore_frequency_enum.create(op.get_bind(), checkfirst=True)
chore_type_enum.create(op.get_bind(), checkfirst=True)
create_enums()
op.create_table('users',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('email', sa.String(), nullable=False),