no-drizzle-column-name-test.yml 370 B

1234567891011121314
  1. id: no-drizzle-column-name
  2. valid:
  3. - |
  4. const table = sqliteTable("session", {
  5. project_id: text().notNull(),
  6. time_created: integer().notNull(),
  7. payload: text({ mode: "json" }),
  8. })
  9. invalid:
  10. - |
  11. const table = sqliteTable("session", {
  12. projectID: text("project_id").notNull(),
  13. createdAt: integer("time_created").notNull(),
  14. })