SQL

CREATE TABLE venue  (
  id       INTEGER PRIMARY KEY AUTOINCREMENT,
  name     TEXT    NOT NULL,
  address  TEXT    NOT NULL,
  capacity INTEGER NOT NULL CHECK (capacity > 0)   -- the room's physical limit,
  description TEXT NOT NULL DEFAULT '',
  facilities TEXT NOT NULL DEFAULT ''
)

Columns

Column Data type Allow null Primary key Actions
id INTEGER read-only
name TEXT read-only
address TEXT read-only
capacity INTEGER read-only
description TEXT read-only
facilities TEXT read-only

Indexes

Name Columns Unique SQL Drop?