diff --git a/olgram/migrations/models/10_20220219201520_update.sql b/olgram/migrations/models/10_20220219201520_update.sql new file mode 100644 index 0000000..8e3aaa3 --- /dev/null +++ b/olgram/migrations/models/10_20220219201520_update.sql @@ -0,0 +1,4 @@ +-- upgrade -- +ALTER TABLE "bot" ADD "enable_threads" BOOL NOT NULL DEFAULT False; +-- downgrade -- +ALTER TABLE "bot" DROP COLUMN "enable_threads";