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:
parent
89bea0d532
commit
8f3275ee40
@ -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,
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user