11 lines
325 B
MySQL
11 lines
325 B
MySQL
|
CREATE TABLE config (
|
||
|
rowlock bool DEFAULT TRUE UNIQUE NOT NULL CHECK (rowlock = TRUE),
|
||
|
normaluservotepoints int NOT NULL,
|
||
|
followervotepoints int NOT NULL,
|
||
|
subscribervotepoints int NOT NULL,
|
||
|
PRIMARY KEY (rowLock)
|
||
|
);
|
||
|
|
||
|
INSERT INTO config (normalUserVotePoints,followerVotePoints,subscriberVotePoints)
|
||
|
VALUES (10,50,100);
|