Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3523717
D11976.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11976.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
@@ -769,6 +769,17 @@
);
},
],
+ [
+ 62,
+ async () => {
+ await dbQuery(
+ SQL`
+ ALTER TABLE uploads
+ MODIFY container bigint(20)
+ `,
+ );
+ },
+ ],
]);
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
@@ -196,7 +196,7 @@
id bigint(20) NOT NULL,
thread bigint(20) DEFAULT NULL,
uploader varchar(255) CHARSET latin1 COLLATE latin1_bin NOT NULL,
- container varchar(255) CHARSET latin1 COLLATE latin1_bin DEFAULT NULL,
+ container bigint(20) DEFAULT NULL,
type varchar(255) CHARSET latin1 COLLATE latin1_swedish_ci NOT NULL,
filename varchar(255) NOT NULL,
mime varchar(255) CHARSET latin1 COLLATE latin1_swedish_ci NOT NULL,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 10:03 AM (17 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699568
Default Alt Text
D11976.diff (1 KB)
Attached To
Mode
D11976: [keyserver] Roll back D11838
Attached
Detach File
Event Timeline
Log In to Comment