mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 02:54:21 +00:00
13 lines
367 B
SQL
13 lines
367 B
SQL
CREATE TABLE diario (
|
|
id INT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY(START 10000),
|
|
|
|
saver_id INT REFERENCES users (id) DEFAULT null,
|
|
saved_on TIMESTAMP DEFAULT now(),
|
|
|
|
quoted_id INT REFERENCES users (id) DEFAULT null,
|
|
quoted_name VARCHAR DEFAULT null,
|
|
|
|
warning TEXT DEFAULT null,
|
|
quote TEXT NOT NULL,
|
|
context TEXT DEFAULT null
|
|
);
|