lib/sqlite
DefaultSQLiteAccountsTable
type DefaultSQLiteAccountsTable: SQLiteTableWithColumns<{
columns: {
access_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
expires_at: DefaultSQLiteColumn<{
columnType: "SQLiteInteger";
data: number;
dataType: "number";
notNull: boolean;
}>;
id_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
provider: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
providerAccountId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
refresh_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
scope: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
session_state: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
token_type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
dialect: "sqlite";
name: string;
schema: string | undefined;
}>;
Type declaration
columns
columns: {
access_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
expires_at: DefaultSQLiteColumn<{
columnType: "SQLiteInteger";
data: number;
dataType: "number";
notNull: boolean;
}>;
id_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
provider: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
providerAccountId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
refresh_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
scope: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
session_state: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
token_type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
columns.access_token
access_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.expires_at
expires_at: DefaultSQLiteColumn<{
columnType: "SQLiteInteger";
data: number;
dataType: "number";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteInteger";
data
data: number;
dataType
dataType: "number";
notNull
notNull: boolean;
columns.id_token
id_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.provider
provider: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.providerAccountId
providerAccountId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.refresh_token
refresh_token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.scope
scope: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.session_state
session_state: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.token_type
token_type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.type
type: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.userId
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
dialect
dialect: "sqlite";
name
name: string;
schema
schema: string | undefined;
DefaultSQLiteSchema
type DefaultSQLiteSchema: {
accountsTable: DefaultSQLiteAccountsTable;
sessionsTable: DefaultSQLiteSessionsTable;
usersTable: DefaultSQLiteUsersTable;
verificationTokensTable: DefaultSQLiteVerificationTokenTable;
};
Type declaration
accountsTable
accountsTable: DefaultSQLiteAccountsTable;
sessionsTable
sessionsTable: DefaultSQLiteSessionsTable;
usersTable
usersTable: DefaultSQLiteUsersTable;
verificationTokensTable
verificationTokensTable: DefaultSQLiteVerificationTokenTable;
DefaultSQLiteSessionsTable
type DefaultSQLiteSessionsTable: SQLiteTableWithColumns<{
columns: {
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
sessionToken: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
dialect: "sqlite";
name: string;
schema: string | undefined;
}>;
Type declaration
columns
columns: {
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
sessionToken: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
columns.expires
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
notNull
notNull: true;
columns.sessionToken
sessionToken: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.userId
userId: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
dialect
dialect: "sqlite";
name
name: string;
schema
schema: string | undefined;
DefaultSQLiteUsersTable
type DefaultSQLiteUsersTable: SQLiteTableWithColumns<{
columns: {
email: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
emailVerified: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: boolean;
}>;
id: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
image: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
name: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
};
dialect: "sqlite";
name: string;
schema: string | undefined;
}>;
Type declaration
columns
columns: {
email: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
emailVerified: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: boolean;
}>;
id: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
image: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
name: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
};
columns.email
email: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.emailVerified
emailVerified: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
notNull
notNull: boolean;
columns.id
id: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.image
image: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
columns.name
name: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: boolean;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: boolean;
dialect
dialect: "sqlite";
name
name: string;
schema
schema: string | undefined;
DefaultSQLiteVerificationTokenTable
type DefaultSQLiteVerificationTokenTable: SQLiteTableWithColumns<{
columns: {
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
identifier: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
dialect: "sqlite";
name: string;
schema: string | undefined;
}>;
Type declaration
columns
columns: {
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
identifier: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
};
columns.expires
expires: DefaultSQLiteColumn<{
columnType: "SQLiteTimestamp";
data: Date;
dataType: "date";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteTimestamp";
data
data: Date;
dataType
dataType: "date";
notNull
notNull: true;
columns.identifier
identifier: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
columns.token
token: DefaultSQLiteColumn<{
columnType: "SQLiteText";
data: string;
dataType: "string";
notNull: true;
}>;
Type declaration
columnType
columnType: "SQLiteText";
data
data: string;
dataType
dataType: "string";
notNull
notNull: true;
dialect
dialect: "sqlite";
name
name: string;
schema
schema: string | undefined;
sqliteAccountsTable
const sqliteAccountsTable: 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;
sqliteSessionsTable
const sqliteSessionsTable: 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;
sqliteUsersTable
const sqliteUsersTable: 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: true;
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: true;
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: true;
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: true;
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;
sqliteVerificationTokensTable
const sqliteVerificationTokensTable: 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;
SQLiteDrizzleAdapter()
SQLiteDrizzleAdapter(client, schema): Adapter
Parameters
Parameter | Type |
---|---|
client | BaseSQLiteDatabase <"sync" | "async" , any , any , ExtractTablesWithRelations <any >> |
schema | DefaultSQLiteSchema |