Page MenuHomePhabricator

D9960.id.diff
No OneTemporary

D9960.id.diff

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
@@ -664,6 +664,14 @@
},
],
[52, updateRolesAndPermissionsForAllThreads],
+ [
+ 53,
+ async () =>
+ dbQuery(SQL`
+ ALTER TABLE invite_links
+ ADD COLUMN blob_holder char(36) CHARSET latin1
+ `),
+ ],
]);
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
@@ -263,7 +263,8 @@
community bigint(20) NOT NULL,
expiration_time bigint(20),
limit_of_uses int UNSIGNED,
- number_of_uses int UNSIGNED NOT NULL DEFAULT 0
+ number_of_uses int UNSIGNED NOT NULL DEFAULT 0,
+ blob_holder char(36) CHARSET latin1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE olm_sessions (

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 3:36 PM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590853
Default Alt Text
D9960.id.diff (1 KB)

Event Timeline