Created
August 22, 2012 11:18
-
-
Save andrewreid/3424581 to your computer and use it in GitHub Desktop.
Table definitions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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