Created
May 22, 2018 14:18
-
-
Save chrisvaughn/d48f19a75f823081486ea92f11968a01 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CREATE TABLE "public"."streaks_checkins" ( | |
"user_id" int4 NOT NULL, | |
"year" int2 NOT NULL, | |
"checkins" int4[] NOT NULL DEFAULT '{0,0,0,0,0,0,0,0,0,0,0,0}'::integer[], | |
CONSTRAINT "streaks_checkins_pkey" PRIMARY KEY ("user_id", "year") NOT DEFERRABLE INITIALLY IMMEDIATE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment