tokens: SQLiteTableWithColumns<
{
name: "tokens";
schema: undefined;
columns: {
token: SQLiteColumn<
{
name: "token";
tableName: "tokens";
dataType: "string";
columnType: "SQLiteText";
data: string;
driverParam: string;
notNull: true;
hasDefault: true;
isPrimaryKey: true;
isAutoincrement: false;
hasRuntimeDefault: true;
enumValues: [string, ...string[]];
baseColumn: never;
identity: undefined;
generated: undefined;
},
object,
>;
expiresAt: SQLiteColumn<
{
name: "expires_at";
tableName: "tokens";
dataType: "date";
columnType: "SQLiteTimestamp";
data: Date;
driverParam: number;
notNull: true;
hasDefault: true;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: true;
enumValues: undefined;
baseColumn: never;
identity: undefined;
generated: undefined;
},
object,
>;
type: SQLiteColumn<
{
name: "type";
tableName: "tokens";
dataType: "string";
columnType: "SQLiteText";
data: "email_change"
| "email_verification"
| "password_reset";
driverParam: string;
notNull: false;
hasDefault: false;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: false;
enumValues: ["email_change", "email_verification", "password_reset"];
baseColumn: never;
identity: undefined;
generated: undefined;
},
object,
>;
email: SQLiteColumn<
{
name: "email";
tableName: "tokens";
dataType: "string";
columnType: "SQLiteText";
data: string;
driverParam: string;
notNull: true;
hasDefault: false;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: false;
enumValues: [string, ...string[]];
baseColumn: never;
identity: undefined;
generated: undefined;
},
object,
>;
userId: SQLiteColumn<
{
name: "user_id";
tableName: "tokens";
dataType: "string";
columnType: "SQLiteText";
data: string;
driverParam: string;
notNull: true;
hasDefault: false;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: false;
enumValues: [string, ...string[]];
baseColumn: never;
identity: undefined;
generated: undefined;
},
object,
>;
};
dialect: "sqlite";
},
> = ...