0002_venue.sql 587 B

123456789101112
  1. CREATE TABLE venues (
  2. id SERIAL primary key,
  3. dropped text,
  4. status ENUM('open', 'closed') not null COMMENT 'Venues can be either open or closed',
  5. statuses text, -- status[],
  6. slug text not null COMMENT 'This value appears in public URLs',
  7. name varchar(255) not null,
  8. city text not null references city(slug),
  9. spotify_playlist varchar(255) not null,
  10. songkick_id text,
  11. tags text -- text[]
  12. ) COMMENT='Venues are places where muisc happens';