Corrections longueur code département
This commit is contained in:
parent
3c0b03c576
commit
40e1c40e26
@ -104,7 +104,7 @@ def upgrade() -> None:
|
||||
)
|
||||
op.create_table('circonscription',
|
||||
sa.Column('id', sa.String(length=6), nullable=False),
|
||||
sa.Column('departement_code', sa.String(length=2), nullable=False),
|
||||
sa.Column('departement_code', sa.String(length=3), nullable=False),
|
||||
sa.Column('numero', sa.Integer(), nullable=False),
|
||||
sa.ForeignKeyConstraint(['departement_code'], ['departement.code_insee'], ),
|
||||
sa.PrimaryKeyConstraint('id')
|
||||
@ -119,7 +119,7 @@ def upgrade() -> None:
|
||||
)
|
||||
op.create_table('resultats2024_departement',
|
||||
sa.Column('id', sa.Integer(), nullable=False),
|
||||
sa.Column('dpt_id', sa.String(length=2), nullable=False),
|
||||
sa.Column('dpt_id', sa.String(length=3), nullable=False),
|
||||
sa.Column('resultats_region_id', sa.Integer(), nullable=False),
|
||||
sa.Column('inscrits', sa.Integer(), nullable=False),
|
||||
sa.Column('votants', sa.Integer(), nullable=False),
|
||||
|
Loading…
Reference in New Issue
Block a user