BrainMinder/assets/migrations/000014_create_bm_item_shares_table.up.sql

11 lines
299 B
SQL

CREATE TABLE "bm_item_shares" (
"id" INTEGER,
"token" TEXT NOT NULL UNIQUE,
"item_id" INTEGER DEFAULT '',
"read" INTEGER DEFAULT '',
"update" INTEGER DEFAULT '',
"start_datetime" TEXT DEFAULT '',
"end_datetime" TEXT DEFAULT '',
"password" TEXT DEFAULT '',
PRIMARY KEY("id" AUTOINCREMENT)
);