@varaos/db 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varaos/db",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "files": [
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "public"."Tag" ADD COLUMN "color" TEXT NOT NULL DEFAULT 'blue';
@@ -658,7 +658,7 @@ model Post {
658
658
  model Tag {
659
659
  id String @id @default(uuid())
660
660
  name String @unique
661
-
661
+ color String @default("blue")
662
662
  // inverse many-to-many pivot
663
663
  posts PostTag[] @relation("PostTags")
664
664
  }