Page MenuHomePhabricator

D9960.id33570.diff
No OneTemporary

D9960.id33570.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
@@ -634,6 +634,14 @@
moveToNonApacheConfig('facts/keyserver_url.json', '/keyserver/');
},
],
+ [
+ 51,
+ 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
Tue, Dec 24, 8:23 AM (14 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699214
Default Alt Text
D9960.id33570.diff (1 KB)

Event Timeline