Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
fix(server): fixed migration
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doe committed Feb 3, 2016
1 parent b55de4e commit 2fada83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ALTER TABLE user_presences ADD COLUMN auth_id BIGINT NOT NULL;
ALTER TABLE user_presences ADD COLUMN auth_id BIGINT NOT NULL DEFAULT 0;
CREATE INDEX ON user_presences (user_id, last_seen_at);
CREATE INDEX ON user_presences (user_id, auth_id);

0 comments on commit 2fada83

Please sign in to comment.