← all modules

Std.Db.Migrate

Std.Db.Migrate
  Std.Db.Migrate — apply dialect-neutral typed migrations (Layer 3 Sky).

Values
  migrateOps : Db -> String -> Task Error (List String)
      Apply a JSON array of `{id, ops}` migrations. Returns the ids applied this
  renderMigrations : Db -> String -> Task Error (List ( String, String ))
      Render a migration JSON into `(id, sql)` pairs (dialect-correct for the