Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32621322
D9982.1767466653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9982.1767466653.diff
View Options
diff --git a/keyserver/src/database/migration-config.js b/keyserver/src/database/migration-config.js
--- a/keyserver/src/database/migration-config.js
+++ b/keyserver/src/database/migration-config.js
@@ -692,6 +692,17 @@
);
},
],
+ [
+ 55,
+ async () => {
+ await dbQuery(
+ SQL`
+ ALTER TABLE threads
+ DROP COLUMN IF EXISTS default_role
+ `,
+ );
+ },
+ ],
]);
const newDatabaseVersion: number = Math.max(...migrations.keys());
diff --git a/keyserver/src/database/setup-db.js b/keyserver/src/database/setup-db.js
--- a/keyserver/src/database/setup-db.js
+++ b/keyserver/src/database/setup-db.js
@@ -158,7 +158,6 @@
containing_thread_id bigint(20) DEFAULT NULL,
community bigint(20) DEFAULT NULL,
depth int UNSIGNED NOT NULL DEFAULT 0,
- default_role bigint(20) NOT NULL,
creator varchar(255) CHARSET latin1 COLLATE latin1_bin NOT NULL,
creation_time bigint(20) NOT NULL,
color char(6) COLLATE utf8mb4_bin NOT NULL,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 3, 6:57 PM (9 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5890232
Default Alt Text
D9982.1767466653.diff (1 KB)
Attached To
Mode
D9982: [keyserver] Drop the default_role column from threads
Attached
Detach File
Event Timeline
Log In to Comment