]> gitweb @ CieloNegro.org - pci-nopaste.git/blob - misc/nopaste-db-schema.sql
migrate from GNU arch to Git
[pci-nopaste.git] / misc / nopaste-db-schema.sql
1 -- posts
2 CREATE TABLE post (
3     post_id     INTEGER PRIMARY KEY,   -- unique id of the post
4     channel_id  VARCHAR(512) NOT NULL, -- id of the channel in ascii
5
6     posted_time INTEGER NOT NULL,      -- timestamp in epoch
7     nick        VARCHAR(512) NOT NULL, -- nick of the person who posted this
8     title       BLOB NOT NULL,         -- title of the post
9     body        BLOB NOT NULL          -- body of the post
10 );
11
12 -- Local Variables:
13 -- sql-product: sqlite
14 -- End: