Skip to content

Commit

Permalink
Remove fake column
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed May 13, 2024
1 parent fc84a3d commit 489e4ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alembic/versions/cac6140fdbf9_initial_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def upgrade() -> None:
op.execute("CREATE SCHEMA IF NOT EXISTS cdb_latiss")
op.create_table('exposure',
sa.Column('exposure_id', sa.BIGINT().with_variant(mysql.BIGINT(), 'mysql').with_variant(oracle.NUMBER(precision=38, scale=0, asdecimal=False), 'oracle').with_variant(sa.BIGINT(), 'postgresql'), nullable=False, comment='Unique identifier.'),
sa.Column('fake_column', sa.BIGINT().with_variant(mysql.BIGINT(), 'mysql').with_variant(oracle.NUMBER(precision=38, scale=0, asdecimal=False), 'oracle').with_variant(sa.BIGINT(), 'postgresql'), nullable=False, comment='Fake column.'),
sa.Column('exposure_name', sa.VARCHAR(length=20).with_variant(mysql.VARCHAR(length=20), 'mysql').with_variant(oracle.VARCHAR2(length=20), 'oracle').with_variant(sa.VARCHAR(length=20), 'postgresql'), nullable=False, comment='Official name of the exposure.'),
sa.Column('controller', sa.VARCHAR(length=1).with_variant(mysql.VARCHAR(length=1), 'mysql').with_variant(oracle.VARCHAR2(length=1), 'oracle').with_variant(sa.VARCHAR(length=1), 'postgresql'), nullable=False, comment='The abbreviation of the controller used for the observation (O, C)'),
sa.Column('day_obs', sa.BIGINT().with_variant(mysql.BIGINT(), 'mysql').with_variant(oracle.NUMBER(precision=38, scale=0, asdecimal=False), 'oracle').with_variant(sa.BIGINT(), 'postgresql'), nullable=False, comment='Day of observation'),
Expand Down

0 comments on commit 489e4ef

Please sign in to comment.