aboutsummaryrefslogtreecommitdiff
path: root/migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py')
-rw-r--r--migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py b/migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py
deleted file mode 100644
index 077182b..0000000
--- a/migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""
-Add 'privilege_category' and 'privilege_description' columns to 'privileges' table
-"""
-
-from yoyo import step
-
-__depends__ = {'20221110_07_7WGa1-create-role-privileges-table'}
-
-steps = [
- step(
- """
- ALTER TABLE privileges ADD COLUMN
- privilege_category TEXT NOT NULL DEFAULT 'common'
- """,
- "ALTER TABLE privileges DROP COLUMN privilege_category"),
- step(
- """
- ALTER TABLE privileges ADD COLUMN
- privilege_description TEXT
- """,
- "ALTER TABLE privileges DROP COLUMN privilege_description")
-]