Dbup is a very simple migration tool with UP command
I published a new database migration tool for PHP, Dbup.
- You have only to download
- Dbup has only
up command. Dbup does not have
- Dbup use just a plain old sql, so you don't have to learn ORM nor DSL. You write sql file and just call
- Dbup use just PDO class to migrate.
- Dbup doesn't need the table of the migration status in a database to migrate.
Why only up command?
If in a production env, after you added a new column and users insert new data in it, you cannot down migration safely. because new data may be lost.
If you use Dbup and want to do down a database schema, then you have only to create new sql file to execute as a new up sql file.