Skip to content

Instantly share code, notes, and snippets.

@andrewreid
Created August 22, 2012 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewreid/3424581 to your computer and use it in GitHub Desktop.
Save andrewreid/3424581 to your computer and use it in GitHub Desktop.
Table definitions
Table "public.events"
Column | Type | Modifiers
---------------------+-----------------------------+-----------------------------------------------------
id | integer | not null default nextval('events_id_seq'::regclass)
name | character varying(255) |
location | text |
notes | text |
created_at | timestamp without time zone | not null
updated_at | timestamp without time zone | not null
default_shift_start | timestamp without time zone |
default_shift_end | timestamp without time zone |
Table "public.shifts"
Column | Type | Modifiers
---------------------+-----------------------------+-----------------------------------------------------
id | integer | not null default nextval('shifts_id_seq'::regclass)
event_id | integer |
starts_at | timestamp without time zone |
ends_at | timestamp without time zone |
qualification_id | integer |
created_at | timestamp without time zone | not null
updated_at | timestamp without time zone | not null
qualifications_mask | integer |
open | boolean | not null default true
using_default | boolean | not null default false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment