17 lines
339 B
MySQL
17 lines
339 B
MySQL
|
-- migrate:up
|
||
|
|
||
|
delete from "users"
|
||
|
where "rejected" is not null or "seceded" is not null or "toBeDeleted" is not null;
|
||
|
|
||
|
alter table "users"
|
||
|
drop "rejected",
|
||
|
drop "seceded",
|
||
|
drop "toBeDeleted";
|
||
|
|
||
|
-- migrate:down
|
||
|
|
||
|
alter table "users"
|
||
|
add "rejected" timestamp,
|
||
|
add "seceded" timestamp,
|
||
|
add "toBeDeleted" timestamp;
|