7 lines
199 B
MySQL
7 lines
199 B
MySQL
|
CREATE TABLE IF NOT EXISTS projects (
|
||
|
id INTEGER PRIMARY KEY,
|
||
|
name VARCHAR(255) NOT NULL,
|
||
|
description TEXT NOT NULL,
|
||
|
user_id INTEGER NOT NULL,
|
||
|
FOREIGN KEY (user_id) REFERENCES users (id)
|
||
|
);
|