-
Test Get User By Username
+
Test Get User By Apple Email
{result && (
diff --git a/src/server/db/schema.ts b/src/server/db/schema.ts
index 11aa78a..88425a2 100755
--- a/src/server/db/schema.ts
+++ b/src/server/db/schema.ts
@@ -23,7 +23,7 @@ export const users = createTable(
appleEmail: varchar("apple_email", { length: 255 }).unique().notNull(),
fullName: varchar("full_name", { length: 100 }),
pfpURL: varchar("pfp_url", { length: 255 }),
- pushToken: varchar("pushToken", { length: 255 }),
+ pushToken: varchar("push_token", { length: 255 }),
createdAt: timestamp("created_at", { withTimezone: true })
.default(sql`CURRENT_TIMESTAMP`)
.notNull(),
@@ -34,7 +34,7 @@ export const relationships = createTable(
"relationship",
{
id: serial("id").primaryKey(),
- title: varchar("title", { length: 100 }).default("Relationship").notNull(),
+ title: varchar("title", { length: 100 }).default("My Relationship").notNull(),
status: statusEnum("status").default("pending").notNull(),
relationshipStartDate: timestamp("relationship_start_date", { withTimezone: true })
.default(sql`CURRENT_TIMESTAMP`).notNull(),