Simple raw-SQL database schema migration tool.
This tool helps you to keep track and evolve your database schema (SQL).
It works like this. Whenever you make changes to the database schema you put them into a “migration” - simply an .sql file with a sequence of SQL statements. Sqlturk keeps track of which migrations have been applied and runs them in a guaranteed order.
There are plenty of tools to approach the problem of database schema migration. Here is how sqlturk is different:
>>> from sqlturk.migration import MigrationTool >>> tool = MigrationTool('sqlite:///:memory:', migration_dir='testmigrations') >>> tool.install() # create a database table to track schema changes >>> tool.find_migrations() ['1_foobar', '2_foobar_data', '10_foobar_delete'] >>> tool.run_migrations() >>> tool.find_migrations() # check that all migrations have been applied 
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|sqlmigrate-1.0.0.win32.exe (205.1 kB) Copy SHA256 Checksum SHA256||any||Windows Installer||Aug 16, 2015|
|sqlmigrate-1.0.0.zip (8.7 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 16, 2015|