salix/db/versions/11204-navyMonstera/00-firstScript.sql

5 lines
142 B
SQL

ALTER TABLE vn.ormConfig
MODIFY COLUMN id INT NOT NULL,
DROP PRIMARY KEY,
ADD CONSTRAINT ormConfig_check CHECK (id = 1),
ADD PRIMARY KEY (id);