Commit b6971ac4 authored by Matthias Larisch's avatar Matthias Larisch

Fixup foodsaver_archive table

parent 57b4a9cd
Pipeline #10630496 passed with stage
in 3 minutes and 21 seconds
......@@ -19,3 +19,5 @@ ALTER TABLE fs_foodsaver_has_conversation ADD UNIQUE KEY (foodsaver_id, conversa
ALTER TABLE fs_abholer DROP PRIMARY KEY;
ALTER TABLE fs_abholer ADD COLUMN id INT unsigned AUTO_INCREMENT PRIMARY KEY;
ALTER TABLE fs_abholer ADD UNIQUE KEY (foodsaver_id, betrieb_id, `date`);
RENAME TABLE fs_foodsaver_archive TO fs_foodsaver_archive5;
CREATE TABLE fs_foodsaver_archive LIKE fs_foodsaver;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment