From 137e04be047c504a0812813d74853725253123e1 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 23 Jun 2022 11:28:20 +0200 Subject: [PATCH] raccordement migrations (insertion "calais") --- migrations/versions/3c31bb0b27c9_fix_calais.py | 12 ------------ migrations/versions/af77ca6a89d0_news_index.py | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/migrations/versions/3c31bb0b27c9_fix_calais.py b/migrations/versions/3c31bb0b27c9_fix_calais.py index ad961abef..7efb5927d 100644 --- a/migrations/versions/3c31bb0b27c9_fix_calais.py +++ b/migrations/versions/3c31bb0b27c9_fix_calais.py @@ -65,18 +65,6 @@ def upgrade(): sa.Column("version_orebut", sa.Text(), nullable=True), ) - # op.create_index( - # op.f("ix_scolar_news_authenticated_user"), - # "scolar_news", - # ["authenticated_user"], - # unique=False, - # ) - # op.create_index(op.f("ix_scolar_news_date"), "scolar_news", ["date"], unique=False) - # op.create_index( - # op.f("ix_scolar_news_object"), "scolar_news", ["object"], unique=False - # ) - # op.create_index(op.f("ix_scolar_news_type"), "scolar_news", ["type"], unique=False) - # ### end Alembic commands ### diff --git a/migrations/versions/af77ca6a89d0_news_index.py b/migrations/versions/af77ca6a89d0_news_index.py index 0a4d2edfa..eb1c03681 100644 --- a/migrations/versions/af77ca6a89d0_news_index.py +++ b/migrations/versions/af77ca6a89d0_news_index.py @@ -11,7 +11,7 @@ import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "af77ca6a89d0" -down_revision = "d5b3bdd1d622" +down_revision = "3c31bb0b27c9" branch_labels = None depends_on = None