mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
8f3275ee40
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>
20 lines
353 B
JavaScript
20 lines
353 B
JavaScript
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,
|
|
);
|
|
};
|