DefaultPostgresSchema?
Object literal may only specify known properties, and 'users' does not exist in type 'DefaultPostgresSchema'.ts(2353)
⚠ Error (TS2353) |
Object literal may only specify known properties, and users does not exist in type
.
(property) users: PgTableWithColumns<{
name: "users";
schema: undefined;
columns: {
id: PgColumn<{
name: "id";
tableName: "users";
dataType: "number";
columnType: "PgSerial";
data: number;
driverParam: number;
notNull: true;
hasDefault: true;
... 5 more ...;
generated: undefined;
}, {}, {}>;
name: PgColumn<...>;
email: PgColumn<...>;
emailVerified: PgColumn<...>;
image: PgColumn<...>;
};
dialect: "pg";
}>
0 Replies