-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #760 from rufener/preavis
Preavis + contrôle mutation
- Loading branch information
Showing
9 changed files
with
287 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ env.local | |
env.dev | ||
env.prepub | ||
env.prod | ||
env.test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
"""add item into ctrlMutation | ||
Revision ID: 86046f932b74 | ||
Revises: 7f61c1192ef6 | ||
Create Date: 2024-05-02 15:51:01.573804 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "86046f932b74" | ||
down_revision = "7f61c1192ef6" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column("controle_mutation", sa.Column("cs_9", sa.Boolean(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column("controle_mutation", "cs_9") | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""manage service urbanisme | ||
Revision ID: 6620a34e9d5c | ||
Revises: 86046f932b74 | ||
Create Date: 2024-05-03 14:20:54.319033 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '6620a34e9d5c' | ||
down_revision = '86046f932b74' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column("cadastre", "service_at_id", new_column_name="service_urbanisme_id") | ||
op.add_column('controle_mutation', sa.Column('od_6', sa.Boolean(), nullable=True)) | ||
op.add_column('service', sa.Column('service_principal', sa.Boolean(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column("cadastre", "service_urbanisme_id", new_column_name="service_at_id") | ||
op.drop_column('controle_mutation', 'od_6') | ||
op.drop_column('service', 'service_principal') | ||
# ### end Alembic commands ### |
Oops, something went wrong.