Skip to content

Commit

Permalink
Merge pull request #24 from dcramer/feat/bottle-features
Browse files Browse the repository at this point in the history
feat: Collections and Vintages
  • Loading branch information
dcramer committed May 20, 2023
2 parents b5ba177 + eb29cbe commit 680be42
Show file tree
Hide file tree
Showing 31 changed files with 1,835 additions and 66 deletions.
2 changes: 1 addition & 1 deletion apps/api/migrations/0010_faithful_maestro.sql
Expand Up @@ -45,4 +45,4 @@ EXCEPTION
WHEN duplicate_object THEN null;
END $$;

CREATE UNIQUE INDEX IF NOT EXISTS "collection_name_unq" ON "collection" ("name","created_by_id");
CREATE UNIQUE INDEX IF NOT EXISTS "collection_name_unq" ON "collection" ("name","created_by_id");
2 changes: 2 additions & 0 deletions apps/api/migrations/0017_nappy_captain_stacy.sql
@@ -0,0 +1,2 @@
ALTER TABLE "collection_bottle" ADD COLUMN "id" bigserial NOT NULL;
CREATE UNIQUE INDEX IF NOT EXISTS "collection_bottle_unq" ON "collection_bottle" ("collection_id","bottle_id","edition_id");

0 comments on commit 680be42

Please sign in to comment.