edit_* table update for serial to identity columns

This commit is contained in:
Clemens Schwaighofer committed 2024-11-22 17:24:34 +09:00
1 parent 3c4c5d3106
commit 87f35f23c3
15 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
-- DROP TABLE edit_query_string;
CREATE TABLE edit_query_string (
edit_query_string_id SERIAL PRIMARY KEY,
edit_query_string_id SERIAINT GENERATED ALWAYS AS IDENTITYL PRIMARY KEY,
edit_page_id INT NOT NULL,
FOREIGN KEY (edit_page_id) REFERENCES edit_page (edit_page_id) MATCH FULL ON DELETE CASCADE ON UPDATE CASCADE,
enabled SMALLINT NOT NULL DEFAULT 0,