neon-auth.js 581 B

123456789101112131415
  1. import { jsonb, pgSchema, text, timestamp } from "../pg-core/index.js";
  2. const neonAuthSchema = pgSchema("neon_auth");
  3. const usersSync = neonAuthSchema.table("users_sync", {
  4. rawJson: jsonb("raw_json").notNull(),
  5. id: text().primaryKey().notNull(),
  6. name: text(),
  7. email: text(),
  8. createdAt: timestamp("created_at", { withTimezone: true, mode: "string" }),
  9. deletedAt: timestamp("deleted_at", { withTimezone: true, mode: "string" }),
  10. updatedAt: timestamp("updated_at", { withTimezone: true, mode: "string" })
  11. });
  12. export {
  13. usersSync
  14. };
  15. //# sourceMappingURL=neon-auth.js.map