mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 22:35:18 +00:00
fix issues in schema_postgres.sql
- change PRIMARY_KEY to PRIMARY KEY - replace smallint(1) with smallint
This commit is contained in:
parent
4162dfe43f
commit
32e4d4633a
1 changed files with 2 additions and 2 deletions
|
@ -528,7 +528,7 @@ CREATE TABLE "item" (
|
|||
"item_restrict" bigint NOT NULL DEFAULT '0',
|
||||
"item_flags" bigint NOT NULL DEFAULT '0',
|
||||
"item_private" numeric(4) NOT NULL DEFAULT '0',
|
||||
"item_unseen" smallint(1) NOT NULL DEFAULT '0',
|
||||
"item_unseen" smallint NOT NULL DEFAULT '0',
|
||||
"item_search_vector" tsvector,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
@ -1163,7 +1163,7 @@ CREATE TABLE "xperm" (
|
|||
"xp_client" varchar( 20 ) NOT NULL DEFAULT '',
|
||||
"xp_channel" bigint NOT NULL DEFAULT '0',
|
||||
"xp_perm" varchar( 64 ) NOT NULL DEFAULT '',
|
||||
PRIMARY_KEY ("xp_id")
|
||||
PRIMARY KEY ("xp_id")
|
||||
);
|
||||
create index "xp_client" on xperm ("xp_client");
|
||||
create index "xp_channel" on xperm ("xp_channel");
|
||||
|
|
Loading…
Reference in a new issue