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 (
|
||||
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 (
|
||||
|
@ -35,11 +35,11 @@ CREATE TABLE posts (
|
|||
CREATE TABLE admins (
|
||||
login VARCHAR(16) PRIMARY KEY,
|
||||
password_hash CHAR(60) NOT NULL,
|
||||
privelege_name VARCHAR(16) NOT NULL
|
||||
privilege_name VARCHAR(16) NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE priveleges (
|
||||
privelege_name VARCHAR(16) PRIMARY KEY,
|
||||
CREATE TABLE privileges (
|
||||
privilege_name VARCHAR(16) PRIMARY KEY,
|
||||
access_level INT2 NOT NULL
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue