mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-02 08:58:39 +00:00
Match NextAuth config with the course (#221)
* Create .env.local.example * changes * Update page.tsx * Update definitions.ts * wip signin validation * fix validation in action * fix * remove import * change * update * change * added button state * improved UI --------- Co-authored-by: Steven Tey <stevensteel97@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ async function seedUsers() {
|
||||
// Create the "invoices" table if it doesn't exist
|
||||
const createTable = await sql`
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id SERIAL PRIMARY KEY,
|
||||
id UUID DEFAULT uuid_generate_v4() PRIMARY KEY,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
email TEXT NOT NULL UNIQUE,
|
||||
password TEXT NOT NULL
|
||||
|
||||
Reference in New Issue
Block a user