BrainMinder/assets/migrations/000005_create_bm_item_table.up.sql
2024-08-22 10:13:16 +02:00

17 lines
498 B
SQL

CREATE TABLE bm_item (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
type_id INTEGER NOT NULL,
title TEXT NOT NULL,
summary TEXT DEFAULT '',
summary_rendered TEXT DEFAULT '',
description TEXT NOT NULL DEFAULT '',
description_rendered BLOB DEFAULT '',
tags TEXT DEFAULT ' ',
active INTEGER DEFAULT 1,
hidden INTEGER DEFAULT 0,
crypted INTEGER DEFAULT 0,
categories TEXT DEFAULT '',
notebooks TEXT DEFAULT '',
on_dashboard INTEGER DEFAULT 0,
on_dashboard_position INTEGER DEFAULT 0
);