Skip to content

Commit

Permalink
feat: Collections and Vintages
Browse files Browse the repository at this point in the history
Add collections MVP, support for displaying vintages, and various tweaks to bottle flows.
  • Loading branch information
dcramer committed May 20, 2023
1 parent 1daa1ee commit eb29cbe
Show file tree
Hide file tree
Showing 26 changed files with 1,829 additions and 60 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 eb29cbe

Please sign in to comment.