Files
better-auth/packages/cli/test/__snapshots__/migrations.sql
T
Bereket EngidaandGitHub 6826e2e58e feat: custom id generation (#221)
* feat: custom id generation

* fix test

* fix: failing tests
2024-10-18 09:17:48 +03:00

7 lines
771 B
SQL

create table "user" ("id" text not null primary key, "name" text not null, "email" text not null unique, "emailVerified" boolean not null, "image" text, "createdAt" date not null, "updatedAt" date not null);
create table "session" ("id" text not null primary key, "expiresAt" date not null, "ipAddress" text, "userAgent" text, "userId" text not null references "user" ("id"));
create table "account" ("id" text not null primary key, "accountId" text not null, "providerId" text not null, "userId" text not null references "user" ("id"), "accessToken" text, "refreshToken" text, "idToken" text, "expiresAt" date, "password" text);
create table "verification" ("id" text not null primary key, "identifier" text not null, "value" text not null, "expiresAt" date not null)