lib/utils
MinimumSchema
Properties
mysql
mysql: {
accounts: MySqlTableWithColumns<{
columns: {
access_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: MySqlColumn<{
baseColumn: never;
columnType: "MySqlInt";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
dialect: "mysql";
name: "account";
schema: undefined;
}>;
sessions: MySqlTableWithColumns<{
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
dialect: "mysql";
name: "session";
schema: undefined;
}>;
users: MySqlTableWithColumns<{
columns: {
email: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: true;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
dialect: "mysql";
name: "user";
schema: undefined;
}>;
verificationTokens: MySqlTableWithColumns<{
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
dialect: "mysql";
name: "verificationToken";
schema: undefined;
}>;
} & Record<string, AnyMySqlTable>;
Type declaration
accounts
accounts: MySqlTableWithColumns<{
columns: {
access_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: MySqlColumn<{
baseColumn: never;
columnType: "MySqlInt";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
dialect: "mysql";
name: "account";
schema: undefined;
}>;
Type declaration
columns
columns: {
access_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: MySqlColumn<{
baseColumn: never;
columnType: "MySqlInt";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
columns.access_token
access_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "access_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.expires_at
expires_at: MySqlColumn<{
baseColumn: never;
columnType: "MySqlInt";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlInt";
data
data: number;
dataType
dataType: "number";
driverParam
driverParam: string | number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires_at";
notNull
notNull: false;
tableName
tableName: "account";
columns.id_token
id_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.provider
provider: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "provider";
notNull
notNull: true;
tableName
tableName: "account";
columns.providerAccountId
providerAccountId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "providerAccountId";
notNull
notNull: true;
tableName
tableName: "account";
columns.refresh_token
refresh_token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "refresh_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.scope
scope: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "scope";
notNull
notNull: false;
tableName
tableName: "account";
columns.session_state
session_state: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "session_state";
notNull
notNull: false;
tableName
tableName: "account";
columns.token_type
token_type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token_type";
notNull
notNull: false;
tableName
tableName: "account";
columns.type
type: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: "email" | "oidc" | "oauth" | "webauthn";
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "type";
notNull
notNull: true;
tableName
tableName: "account";
columns.userId
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "account";
dialect
dialect: "mysql";
name
name: "account";
schema
schema: undefined;
sessions
sessions: MySqlTableWithColumns<{
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
dialect: "mysql";
name: "session";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
columns.expires
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string | number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "session";
columns.sessionToken
sessionToken: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "sessionToken";
notNull
notNull: true;
tableName
tableName: "session";
columns.userId
userId: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "session";
dialect
dialect: "mysql";
name
name: "session";
schema
schema: undefined;
users
users: MySqlTableWithColumns<{
columns: {
email: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: true;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
dialect: "mysql";
name: "user";
schema: undefined;
}>;
Type declaration
columns
columns: {
email: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: true;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
columns.email
email: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "email";
notNull
notNull: true;
tableName
tableName: "user";
columns.emailVerified
emailVerified: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: true;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string | number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: true;
name
name: "emailVerified";
notNull
notNull: false;
tableName
tableName: "user";
columns.id
id: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id";
notNull
notNull: true;
tableName
tableName: "user";
columns.image
image: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "image";
notNull
notNull: false;
tableName
tableName: "user";
columns.name
name: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "name";
notNull
notNull: false;
tableName
tableName: "user";
dialect
dialect: "mysql";
name
name: "user";
schema
schema: undefined;
verificationTokens
verificationTokens: MySqlTableWithColumns<{
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
dialect: "mysql";
name: "verificationToken";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
columns.expires
expires: MySqlColumn<{
baseColumn: never;
columnType: "MySqlTimestamp";
data: Date;
dataType: "date";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string | number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.identifier
identifier: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "identifier";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.token
token: MySqlColumn<{
baseColumn: never;
columnType: "MySqlVarChar";
data: string;
dataType: "string";
driverParam: string | number;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "MySqlVarChar";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string | number;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token";
notNull
notNull: true;
tableName
tableName: "verificationToken";
dialect
dialect: "mysql";
name
name: "verificationToken";
schema
schema: undefined;
pg
pg: {
accounts: PgTableWithColumns<{
columns: {
access_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, {}, {}>;
expires_at: PgColumn<{
baseColumn: never;
columnType: "PgInteger";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, {}, {}>;
id_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, {}, {}>;
provider: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, {}, {}>;
providerAccountId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, {}, {}>;
refresh_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, {}, {}>;
scope: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, {}, {}>;
session_state: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, {}, {}>;
token_type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, {}, {}>;
type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, {}, {}>;
};
dialect: "pg";
name: "account";
schema: undefined;
}>;
sessions: PgTableWithColumns<{
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, {}, {}>;
sessionToken: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, {}, {}>;
};
dialect: "pg";
name: "session";
schema: undefined;
}>;
users: PgTableWithColumns<{
columns: {
email: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, {}, {}>;
emailVerified: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, {}, {}>;
id: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, {}, {}>;
image: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, {}, {}>;
name: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, {}, {}>;
};
dialect: "pg";
name: "user";
schema: undefined;
}>;
verificationTokens: PgTableWithColumns<{
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
identifier: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
};
dialect: "pg";
name: "verificationToken";
schema: undefined;
}>;
} & Record<string, AnyPgTable>;
Type declaration
accounts
accounts: PgTableWithColumns<{
columns: {
access_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, {}, {}>;
expires_at: PgColumn<{
baseColumn: never;
columnType: "PgInteger";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, {}, {}>;
id_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, {}, {}>;
provider: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, {}, {}>;
providerAccountId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, {}, {}>;
refresh_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, {}, {}>;
scope: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, {}, {}>;
session_state: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, {}, {}>;
token_type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, {}, {}>;
type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, {}, {}>;
};
dialect: "pg";
name: "account";
schema: undefined;
}>;
Type declaration
columns
columns: {
access_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, {}, {}>;
expires_at: PgColumn<{
baseColumn: never;
columnType: "PgInteger";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, {}, {}>;
id_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, {}, {}>;
provider: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, {}, {}>;
providerAccountId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, {}, {}>;
refresh_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, {}, {}>;
scope: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, {}, {}>;
session_state: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, {}, {}>;
token_type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, {}, {}>;
type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, {}, {}>;
};
columns.access_token
access_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "access_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.expires_at
expires_at: PgColumn<{
baseColumn: never;
columnType: "PgInteger";
data: number;
dataType: "number";
driverParam: string | number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgInteger";
data
data: number;
dataType
dataType: "number";
driverParam
driverParam: string | number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires_at";
notNull
notNull: false;
tableName
tableName: "account";
columns.id_token
id_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.provider
provider: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "provider";
notNull
notNull: true;
tableName
tableName: "account";
columns.providerAccountId
providerAccountId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "providerAccountId";
notNull
notNull: true;
tableName
tableName: "account";
columns.refresh_token
refresh_token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "refresh_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.scope
scope: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "scope";
notNull
notNull: false;
tableName
tableName: "account";
columns.session_state
session_state: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "session_state";
notNull
notNull: false;
tableName
tableName: "account";
columns.token_type
token_type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token_type";
notNull
notNull: false;
tableName
tableName: "account";
columns.type
type: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: "email" | "oidc" | "oauth" | "webauthn";
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "type";
notNull
notNull: true;
tableName
tableName: "account";
columns.userId
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "account";
dialect
dialect: "pg";
name
name: "account";
schema
schema: undefined;
sessions
sessions: PgTableWithColumns<{
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, {}, {}>;
sessionToken: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, {}, {}>;
};
dialect: "pg";
name: "session";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, {}, {}>;
sessionToken: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, {}, {}>;
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, {}, {}>;
};
columns.expires
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "session";
columns.sessionToken
sessionToken: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "sessionToken";
notNull
notNull: true;
tableName
tableName: "session";
columns.userId
userId: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "session";
dialect
dialect: "pg";
name
name: "session";
schema
schema: undefined;
users
users: PgTableWithColumns<{
columns: {
email: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, {}, {}>;
emailVerified: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, {}, {}>;
id: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, {}, {}>;
image: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, {}, {}>;
name: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, {}, {}>;
};
dialect: "pg";
name: "user";
schema: undefined;
}>;
Type declaration
columns
columns: {
email: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, {}, {}>;
emailVerified: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, {}, {}>;
id: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, {}, {}>;
image: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, {}, {}>;
name: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, {}, {}>;
};
columns.email
email: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "email";
notNull
notNull: true;
tableName
tableName: "user";
columns.emailVerified
emailVerified: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "emailVerified";
notNull
notNull: false;
tableName
tableName: "user";
columns.id
id: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id";
notNull
notNull: true;
tableName
tableName: "user";
columns.image
image: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "image";
notNull
notNull: false;
tableName
tableName: "user";
columns.name
name: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "name";
notNull
notNull: false;
tableName
tableName: "user";
dialect
dialect: "pg";
name
name: "user";
schema
schema: undefined;
verificationTokens
verificationTokens: PgTableWithColumns<{
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
identifier: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
};
dialect: "pg";
name: "verificationToken";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
identifier: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
};
columns.expires
expires: PgColumn<{
baseColumn: never;
columnType: "PgTimestamp";
data: Date;
dataType: "date";
driverParam: string;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: string;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.identifier
identifier: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "identifier";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.token
token: PgColumn<{
baseColumn: never;
columnType: "PgText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, {}, {}>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "PgText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token";
notNull
notNull: true;
tableName
tableName: "verificationToken";
dialect
dialect: "pg";
name
name: "verificationToken";
schema
schema: undefined;
sqlite
sqlite: {
accounts: SQLiteTableWithColumns<{
columns: {
access_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteInteger";
data: number;
dataType: "number";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
dialect: "sqlite";
name: "account";
schema: undefined;
}>;
sessions: SQLiteTableWithColumns<{
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
dialect: "sqlite";
name: "session";
schema: undefined;
}>;
users: SQLiteTableWithColumns<{
columns: {
email: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
dialect: "sqlite";
name: "user";
schema: undefined;
}>;
verificationTokens: SQLiteTableWithColumns<{
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
dialect: "sqlite";
name: "verificationToken";
schema: undefined;
}>;
} & Record<string, AnySQLiteTable>;
Type declaration
accounts
accounts: SQLiteTableWithColumns<{
columns: {
access_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteInteger";
data: number;
dataType: "number";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
dialect: "sqlite";
name: "account";
schema: undefined;
}>;
Type declaration
columns
columns: {
access_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
expires_at: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteInteger";
data: number;
dataType: "number";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
id_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
provider: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
providerAccountId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
refresh_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
scope: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
session_state: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
token_type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
};
columns.access_token
access_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "access_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "access_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.expires_at
expires_at: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteInteger";
data: number;
dataType: "number";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires_at";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteInteger";
data
data: number;
dataType
dataType: "number";
driverParam
driverParam: number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires_at";
notNull
notNull: false;
tableName
tableName: "account";
columns.id_token
id_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.provider
provider: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "provider";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "provider";
notNull
notNull: true;
tableName
tableName: "account";
columns.providerAccountId
providerAccountId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "providerAccountId";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "providerAccountId";
notNull
notNull: true;
tableName
tableName: "account";
columns.refresh_token
refresh_token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "refresh_token";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "refresh_token";
notNull
notNull: false;
tableName
tableName: "account";
columns.scope
scope: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "scope";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "scope";
notNull
notNull: false;
tableName
tableName: "account";
columns.session_state
session_state: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "session_state";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "session_state";
notNull
notNull: false;
tableName
tableName: "account";
columns.token_type
token_type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token_type";
notNull: false;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token_type";
notNull
notNull: false;
tableName
tableName: "account";
columns.type
type: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: "email" | "oidc" | "oauth" | "webauthn";
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "type";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: "email" | "oidc" | "oauth" | "webauthn";
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "type";
notNull
notNull: true;
tableName
tableName: "account";
columns.userId
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "account";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "account";
dialect
dialect: "sqlite";
name
name: "account";
schema
schema: undefined;
sessions
sessions: SQLiteTableWithColumns<{
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
dialect: "sqlite";
name: "session";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
sessionToken: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
};
columns.expires
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "session";
columns.sessionToken
sessionToken: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "sessionToken";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "sessionToken";
notNull
notNull: true;
tableName
tableName: "session";
columns.userId
userId: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "userId";
notNull: true;
tableName: "session";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "userId";
notNull
notNull: true;
tableName
tableName: "session";
dialect
dialect: "sqlite";
name
name: "session";
schema
schema: undefined;
users
users: SQLiteTableWithColumns<{
columns: {
email: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
dialect: "sqlite";
name: "user";
schema: undefined;
}>;
Type declaration
columns
columns: {
email: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
emailVerified: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
id: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
image: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
name: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
};
columns.email
email: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "email";
notNull: true;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "email";
notNull
notNull: true;
tableName
tableName: "user";
columns.emailVerified
emailVerified: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "emailVerified";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "emailVerified";
notNull
notNull: false;
tableName
tableName: "user";
columns.id
id: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "id";
notNull: true;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "id";
notNull
notNull: true;
tableName
tableName: "user";
columns.image
image: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "image";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "image";
notNull
notNull: false;
tableName
tableName: "user";
columns.name
name: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "name";
notNull: false;
tableName: "user";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "name";
notNull
notNull: false;
tableName
tableName: "user";
dialect
dialect: "sqlite";
name
name: "user";
schema
schema: undefined;
verificationTokens
verificationTokens: SQLiteTableWithColumns<{
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
dialect: "sqlite";
name: "verificationToken";
schema: undefined;
}>;
Type declaration
columns
columns: {
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
identifier: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
};
columns.expires
expires: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
driverParam: number;
enumValues: undefined;
hasDefault: false;
name: "expires";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
driverParam
driverParam: number;
enumValues
enumValues: undefined;
hasDefault
hasDefault: false;
name
name: "expires";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.identifier
identifier: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "identifier";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "identifier";
notNull
notNull: true;
tableName
tableName: "verificationToken";
columns.token
token: SQLiteColumn<{
baseColumn: never;
columnType: "SQLiteText";
data: string;
dataType: "string";
driverParam: string;
enumValues: [string, ...string[]];
hasDefault: false;
name: "token";
notNull: true;
tableName: "verificationToken";
}, object>;
Type declaration
baseColumn
baseColumn: never;
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
driverParam
driverParam: string;
enumValues
enumValues: [string, ...string[]];
hasDefault
hasDefault: false;
name
name: "token";
notNull
notNull: true;
tableName
tableName: "verificationToken";
dialect
dialect: "sqlite";
name
name: "verificationToken";
schema
schema: undefined;
AnyMySqlDatabase
type AnyMySqlDatabase: MySqlDatabase<any, any>;
AnyPgDatabase
type AnyPgDatabase: PgDatabase<any, any, any>;
AnySQLiteDatabase
type AnySQLiteDatabase: BaseSQLiteDatabase<any, any, any, any>;
ClientFlavors<Flavor>
type ClientFlavors<Flavor>: Flavor extends AnyMySqlDatabase ? MinimumSchema["mysql"] : Flavor extends AnyPgDatabase ? MinimumSchema["pg"] : Flavor extends AnySQLiteDatabase ? MinimumSchema["sqlite"] : never;
Type parameters
Type parameter |
---|
Flavor |
SqlFlavorOptions
type SqlFlavorOptions: AnyMySqlDatabase | AnyPgDatabase | AnySQLiteDatabase;
TableFn<Flavor>
type TableFn<Flavor>: Flavor extends AnyMySqlDatabase ? MySqlTableFn : Flavor extends AnyPgDatabase ? PgTableFn : Flavor extends AnySQLiteDatabase ? SQLiteTableFn : AnySQLiteTable;
Type parameters
Type parameter |
---|
Flavor |
stripUndefined()
stripUndefined<T>(obj): Pick<T, NonNullableProps<T>>
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
obj | T |
Returns
Pick
<T
, NonNullableProps
<T
>>