Commit a00693d6 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

fix multiple food prices down migration

parent 564324ea
BEGIN TRANSACTION;
--;;
ALTER TABLE prices
DROP CONSTRAINT PRIMARY KEY;
DROP CONSTRAINT pk;
--;;
ALTER TABLE prices
DROP COLUMN id;
--;;
ALTER TABLE prices
ADD CONSTRAINT PRIMARY KEY(food_name, comment);
ADD CONSTRAINT pk PRIMARY KEY(food_name, comment);
--;;
COMMIT;
Supports Markdown
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