+/- table definition

Query

CREATE TABLE `matchdays`  (
  `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
  `competition_id` integer NOT NULL,
  `number` integer NOT NULL,
  `status` text DEFAULT 'pending' NOT NULL,
  `first_match_at` text,
  `last_match_at` text,
  `sync_at` text,
  `draft_open_at` text,
  `draft_close_at` text,
  `scoring_at` text,
  FOREIGN KEY (`competition_id`) REFERENCES `competitions`(`id`) ON UPDATE no action ON DELETE no action
)
Use Shift + Up/Down to navigate recently-executed queries