MarseyWorld/migrations/20231012-more-orgy-automati...

7 lines
338 B
MySQL
Raw Permalink Normal View History

alter table orgies add column start_utc int not null;
alter table orgies add column started bool not null;
update modactions set kind='schedule_orgy' where kind='start_orgy';
2023-10-13 15:56:12 +00:00
update modactions set kind='remove_orgy' where kind='stop_orgy';
ALTER TABLE orgies DROP CONSTRAINT orgies_pkey;
ALTER TABLE orgies ADD PRIMARY KEY (created_utc);