libsql not generating migration for generatedAlwaysAs
No migration were detected by the drizle when I changed from this
to this
to this
buildDate: integer("created", { mode: "timestamp" })
.notNull()
.default(sql`(unixepoch())`),
buildYear: integer(),buildDate: integer("created", { mode: "timestamp" })
.notNull()
.default(sql`(unixepoch())`),
buildYear: integer().generatedAlwaysAs(
(): SQL => sql`CAST(strftime('%Y', ${vehicles.buildDate}, 'unixepoch') AS INTEGER)`,
{ mode: "stored" }
),