9 lines
201 B
MySQL
9 lines
201 B
MySQL
|
CREATE TABLE IF NOT EXISTS images (
|
||
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||
|
name TEXT,
|
||
|
image BLOB,
|
||
|
authorid REFERENCES authors(id) ON DELETE CASCADE,
|
||
|
upload_time INTEGER,
|
||
|
hashedip BLOB
|
||
|
);
|