* VRFS-27 tables added

This commit is contained in:
Seth Call 2012-10-27 14:20:11 -05:00
parent 80637bac74
commit bc10d96a9e
1 changed files with 2 additions and 0 deletions

View File

@ -6,3 +6,5 @@ CREATE TABLE invitations (
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
ALTER TABLE invitations ADD CONSTRAINT invitations_uniqkey UNIQUE (sender_id, receiver_id, music_session_id);