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