|
|
|
|
|
by rotemtam
1602 days ago
|
|
Hi parhamn, One of Atlas's creators here. To be precise, we never analogized Atlas to Terraform :-) We said the existing HCL DDL is terraform like (which it is). As far as I know, there are no heavily used terraform plugins for handling database migrations - and not because it's not possible. The CLI currently exposes a declarative workflow (atlas schema apply), but we our analysis of the problem is that that declarative is not robust enough for many projects. For this reason, the Go API already support "versioned migrations" or "migration authoring" which means Atlas will generate migration files (SQL) and maintain the directory for you in the format that you like (Flyway, go-migrate etc). In the very near future we will publish the migration authoring functionality to the CLI (you can already play with it via the Go package if you like). |
|