Merge branch 'master' of bitbucket.org:jamkazam/jam-db

This commit is contained in:
Seth Call 2012-09-13 23:39:04 -05:00
commit 6ef58ec7fc
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ CREATE INDEX remember_token_idx ON users(remember_token);
CREATE TABLE jam_sessions (
id VARCHAR(64) PRIMARY KEY DEFAULT uuid_generate_v4(),
name VARCHAR(8000),
public boolean NOT NULL DEFAULT true,
user_id VARCHAR(64) NOT NULL REFERENCES users(id),
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP