+/- table definition

Query

CREATE TABLE profile_modules  (
  profile_id INTEGER NOT NULL REFERENCES user_profiles(id) ON DELETE CASCADE,
  module_key TEXT NOT NULL,
  can_write INTEGER NOT NULL DEFAULT 0,
  PRIMARY KEY (profile_id, module_key)
)
Use Shift + Up/Down to navigate recently-executed queries