smr/src/sql/create_table_images.sql

12 lines
267 B
MySQL
Raw Normal View History

2023-05-17 23:18:24 +02:00
/*
We may want to store images one day. This is unused for now
*/
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
);