diff --git a/src/app/users/createUser/page.tsx b/src/app/users/createUser/page.tsx index 8de19e0..3b72a4a 100644 --- a/src/app/users/createUser/page.tsx +++ b/src/app/users/createUser/page.tsx @@ -44,7 +44,7 @@ export default function CreateUserPage() {

Test Create User

- +
- +
- + (null); @@ -30,7 +30,7 @@ export default function GetUserByUsernamePage() {
-

Test Get User By Username

+

Test Get User By Apple Email

@@ -44,7 +44,7 @@ export default function GetUserByUsernamePage() { />
{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(),