Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore(db): renumber RBAC migrations to 0030/0031 for main's 0029 fk_indexes

Andrej894e9e9c4149
diff --git a/apps/api/drizzle/0029_smart_umar.sql b/apps/api/drizzle/0030_smart_umar.sql
similarity index 100%
rename from apps/api/drizzle/0029_smart_umar.sql
rename to apps/api/drizzle/0030_smart_umar.sql
diff --git a/apps/api/drizzle/0030_strong_colleen_wing.sql b/apps/api/drizzle/0031_strong_colleen_wing.sql
similarity index 100%
rename from apps/api/drizzle/0030_strong_colleen_wing.sql
rename to apps/api/drizzle/0031_strong_colleen_wing.sql
diff --git a/apps/api/drizzle/meta/0030_snapshot.json b/apps/api/drizzle/meta/0030_snapshot.json
index d9729e1a8..a61f02661 100644
--- a/apps/api/drizzle/meta/0030_snapshot.json
+++ b/apps/api/drizzle/meta/0030_snapshot.json
@@ -1,6 +1,6 @@
{
- "id": "ea3cbcd5-1a1f-458a-b43b-de4cdb405154",
- "prevId": "005da2f9-7439-4ae4-8bdb-71b60095d4fb",
+ "id": "005da2f9-7439-4ae4-8bdb-71b60095d4fb",
+ "prevId": "f03b3725-0c2f-4b56-835f-2bf9aba84884",
"version": "7",
"dialect": "postgresql",
"tables": {
@@ -1962,12 +1962,6 @@
"type": "text",
"primaryKey": false,
"notNull": false
- },
- "impersonated_by": {
- "name": "impersonated_by",
- "type": "text",
- "primaryKey": false,
- "notNull": false
}
},
"indexes": {
@@ -2647,31 +2641,6 @@
"primaryKey": false,
"notNull": false,
"default": false
- },
- "role": {
- "name": "role",
- "type": "text",
- "primaryKey": false,
- "notNull": false
- },
- "banned": {
- "name": "banned",
- "type": "boolean",
- "primaryKey": false,
- "notNull": false,
- "default": false
- },
- "ban_reason": {
- "name": "ban_reason",
- "type": "text",
- "primaryKey": false,
- "notNull": false
- },
- "ban_expires": {
- "name": "ban_expires",
- "type": "timestamp",
- "primaryKey": false,
- "notNull": false
}
},
"indexes": {},
diff --git a/apps/api/drizzle/meta/0029_snapshot.json b/apps/api/drizzle/meta/0031_snapshot.json
similarity index 99%
rename from apps/api/drizzle/meta/0029_snapshot.json
rename to apps/api/drizzle/meta/0031_snapshot.json
index acd386630..d9729e1a8 100644
--- a/apps/api/drizzle/meta/0029_snapshot.json
+++ b/apps/api/drizzle/meta/0031_snapshot.json
@@ -1,6 +1,6 @@
{
- "id": "005da2f9-7439-4ae4-8bdb-71b60095d4fb",
- "prevId": "b7c8d9e0-f1a2-4b3c-9d0e-abcdef012345",
+ "id": "ea3cbcd5-1a1f-458a-b43b-de4cdb405154",
+ "prevId": "005da2f9-7439-4ae4-8bdb-71b60095d4fb",
"version": "7",
"dialect": "postgresql",
"tables": {
@@ -1962,6 +1962,12 @@
"type": "text",
"primaryKey": false,
"notNull": false
+ },
+ "impersonated_by": {
+ "name": "impersonated_by",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
}
},
"indexes": {
@@ -2641,6 +2647,31 @@
"primaryKey": false,
"notNull": false,
"default": false
+ },
+ "role": {
+ "name": "role",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "banned": {
+ "name": "banned",
+ "type": "boolean",
+ "primaryKey": false,
+ "notNull": false,
+ "default": false
+ },
+ "ban_reason": {
+ "name": "ban_reason",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false
+ },
+ "ban_expires": {
+ "name": "ban_expires",
+ "type": "timestamp",
+ "primaryKey": false,
+ "notNull": false
}
},
"indexes": {},
diff --git a/apps/api/drizzle/meta/_journal.json b/apps/api/drizzle/meta/_journal.json
index 8b0feeac1..dfe2fdaee 100644
--- a/apps/api/drizzle/meta/_journal.json
+++ b/apps/api/drizzle/meta/_journal.json
@@ -208,15 +208,22 @@
{
"idx": 29,
"version": "7",
- "when": 1778334176370,
- "tag": "0029_smart_umar",
+ "when": 1778000000000,
+ "tag": "0029_fk_supporting_indexes",
"breakpoints": true
},
{
"idx": 30,
"version": "7",
+ "when": 1778334176370,
+ "tag": "0030_smart_umar",
+ "breakpoints": true
+ },
+ {
+ "idx": 31,
+ "version": "7",
"when": 1778335540111,
- "tag": "0030_strong_colleen_wing",
+ "tag": "0031_strong_colleen_wing",
"breakpoints": true
}
]