Skip to content

Commit d99ba4b

Browse files
committed
Merge drizzle files
1 parent 1165826 commit d99ba4b

File tree

7 files changed

+12
-3292
lines changed

7 files changed

+12
-3292
lines changed

drizzle/0000_last_xorn.sql renamed to drizzle/0000_previous_ozymandias.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ CREATE TABLE IF NOT EXISTS "feature_translation" (
119119
);
120120
--> statement-breakpoint
121121
CREATE TABLE IF NOT EXISTS "image" (
122-
"id" serial PRIMARY KEY NOT NULL, "key" varchar(1024) NOT NULL, "width" integer NOT NULL, "height" integer NOT NULL, "source" text, "captureDate" date, "alt" text, "blurDataURL" text
122+
"id" serial PRIMARY KEY NOT NULL, "key" varchar(1024) NOT NULL, "width" integer NOT NULL, "height" integer NOT NULL, "source" text, "captureDate" timestamp, "alt" text, "blurDataURL" text
123123
);
124124
--> statement-breakpoint
125125
CREATE TABLE IF NOT EXISTS "placeCategory" (
@@ -189,7 +189,7 @@ CREATE TABLE IF NOT EXISTS "route_translation" (
189189
);
190190
--> statement-breakpoint
191191
CREATE TABLE IF NOT EXISTS "user" (
192-
"id" varchar(255) PRIMARY KEY NOT NULL, "name" text, "email" text NOT NULL, "emailVerified" timestamp, "image" text, "role" text DEFAULT 'user' NOT NULL, "visitedPlaceListId" integer NOT NULL
192+
"id" varchar(255) PRIMARY KEY NOT NULL, "name" text, "hashedPassword" varchar(255), "email" text NOT NULL, "emailVerified" timestamp, "image" text, "role" text DEFAULT 'user' NOT NULL, "visitedPlaceListId" integer NOT NULL
193193
);
194194
--> statement-breakpoint
195195
CREATE TABLE IF NOT EXISTS "verificationRequirement" (

drizzle/0001_exotic_snowbird.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

drizzle/0002_futuristic_trauma.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

drizzle/meta/0000_snapshot.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "c7c5a5dd-fcf9-46c7-b98c-d80a74f60a15",
2+
"id": "74278d02-12c6-451a-82b2-277c98466d64",
33
"prevId": "00000000-0000-0000-0000-000000000000",
44
"version": "5",
55
"dialect": "pg",
@@ -652,7 +652,7 @@
652652
},
653653
"captureDate": {
654654
"name": "captureDate",
655-
"type": "date",
655+
"type": "timestamp",
656656
"primaryKey": false,
657657
"notNull": false
658658
},
@@ -1409,6 +1409,12 @@
14091409
"primaryKey": false,
14101410
"notNull": false
14111411
},
1412+
"hashedPassword": {
1413+
"name": "hashedPassword",
1414+
"type": "varchar(255)",
1415+
"primaryKey": false,
1416+
"notNull": false
1417+
},
14121418
"email": {
14131419
"name": "email",
14141420
"type": "text",

0 commit comments

Comments
 (0)