2023-03-13 02:04:09 +01:00
|
|
|
-- 2023-03-13: Change avatar URLs to hashes
|
|
|
|
|
2023-08-16 03:30:34 +02:00
|
|
|
-- +migrate Up
|
|
|
|
|
2023-03-13 02:04:09 +01:00
|
|
|
alter table users drop column avatar_urls;
|
|
|
|
alter table members drop column avatar_urls;
|
|
|
|
|
|
|
|
alter table users add column avatar text;
|
|
|
|
alter table members add column avatar text;
|
2023-08-16 03:30:34 +02:00
|
|
|
|
|
|
|
-- +migrate Down
|
|
|
|
|
|
|
|
alter table users drop column avatar;
|
|
|
|
alter table members drop column avatar;
|
|
|
|
|
|
|
|
alter table users add column avatar_urls text[];
|
|
|
|
alter table members add column avatar_urls text[];
|