forked from dachan/dach
removed unnecessary comma
This commit is contained in:
parent
ce72dd40a8
commit
95efd1c332
|
@ -16,7 +16,7 @@ CREATE TABLE threads (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE media (
|
CREATE TABLE media (
|
||||||
media_id VARCHAR(22) PRIMARY KEY -- format: ${thread_id}-${media_number}, len(thread_id) = 20, + "-" + len(media_number) = 1 = 22
|
media_id VARCHAR(32) PRIMARY KEY -- format: ${thread_id}-${media_number}.${ext}
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE posts (
|
CREATE TABLE posts (
|
||||||
|
@ -35,11 +35,11 @@ CREATE TABLE posts (
|
||||||
CREATE TABLE admins (
|
CREATE TABLE admins (
|
||||||
login VARCHAR(16) PRIMARY KEY,
|
login VARCHAR(16) PRIMARY KEY,
|
||||||
password_hash CHAR(60) NOT NULL,
|
password_hash CHAR(60) NOT NULL,
|
||||||
privelege_name VARCHAR(16) NOT NULL
|
privilege_name VARCHAR(16) NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE priveleges (
|
CREATE TABLE privileges (
|
||||||
privelege_name VARCHAR(16) PRIMARY KEY,
|
privilege_name VARCHAR(16) PRIMARY KEY,
|
||||||
access_level INT2 NOT NULL
|
access_level INT2 NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue