+/- table definition

Query

CREATE TABLE `players`  (
  `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
  `competition_id` integer NOT NULL,
  `external_id` text,
  `name` text NOT NULL,
  `club` text NOT NULL,
  `club_external_id` text,
  `position` text NOT NULL,
  `price` real DEFAULT 5 NOT NULL,
  `is_active` integer DEFAULT true NOT NULL,
  `last_synced_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