From 56e9aaab0186ae03a35bf01575a71d62462b17b1 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 20 Aug 2022 08:34:38 -0400 Subject: [PATCH] Regression --- app/migrations/20220819_role_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/migrations/20220819_role_manager.py b/app/migrations/20220819_role_manager.py index 0344b518..bbc102ed 100644 --- a/app/migrations/20220819_role_manager.py +++ b/app/migrations/20220819_role_manager.py @@ -3,14 +3,14 @@ import peewee def migrate(migrator, database, **kwargs): - migrator.add_columns("roles", role_manager=peewee.IntegerField(null=True)) + migrator.add_columns("roles", manager=peewee.IntegerField(null=True)) """ Write your migrations here. """ def rollback(migrator, database, **kwargs): - migrator.drop_columns("roles", ["role_manager"]) + migrator.drop_columns("roles", ["manager"]) """ Write your rollback migrations here. """