7 lines
No EOL
219 B
SQL
7 lines
No EOL
219 B
SQL
CREATE TABLE IF NOT EXISTS report_collection (
|
|
id INTEGER PRIMARY KEY,
|
|
project_id INTEGER NOT NULL,
|
|
date DATE NOT NULL,
|
|
signed_by INTEGER, -- NULL if not signed
|
|
FOREIGN KEY (signed_by) REFERENCES users (id)
|
|
); |