diff --git a/server/db/schema/articles.sql b/server/db/schema/articles.sql index 055b238..1d0965a 100644 --- a/server/db/schema/articles.sql +++ b/server/db/schema/articles.sql @@ -1,5 +1,5 @@ CREATE TABLE IF NOT EXISTS articles ( - id SERIAL PRIMARY KEY, + id INTEGER PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ), s3_url VARCHAR(256) NOT NULL, description TEXT NOT NULL, media_url VARCHAR(256) NOT NULL