1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

chore: change users image_url column to text (#6031)

Change the image_url column to text

Closes #
https://github.com/orgs/Unleash/projects/8/views/1?pane=issue&itemId=51021534

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2024-01-25 11:40:18 +02:00 committed by GitHub
parent 89bea0d532
commit 8f3275ee40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,19 @@
exports.up = function (db, cb) {
db.runSql(
`
ALTER TABLE users
ALTER COLUMN image_url TYPE text;
`,
cb,
);
};
exports.down = function (db, cb) {
db.runSql(
`
ALTER TABLE users
ALTER COLUMN image_url TYPE VARCHAR(255);
`,
cb,
);
};