POST /migrations would run, for a reviewer — or prorm db push --dry-run — that wants to see the statements first. Column types may be engine types (VARCHAR(200)) or the ORM's own (STRING(200), BOOLEAN, ENUM('a','b')), which are rendered for this database's engine; that is also true of POST /migrations itself.migration:write (area resource, on the database).curl --location 'https://api.prod-orm.io/provision/databases//migrations/preview' \
--header 'Content-Type: application/json' \
--data '{
"operations": [
{
"op": "createTable",
"table": "string",
"name": "string",
"columns": {},
"definition": {},
"fields": [
"string"
]
}
]
}'{
"dialect": "string",
"statements": [
"string"
]
}