Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change dbmigrator list to list version and migration name separately #32

Merged
merged 1 commit into from
May 12, 2016

Conversation

karenc
Copy link
Owner

@karenc karenc commented Apr 24, 2016

Change from:

karen@trusty:~/db-migrator (master)$ ./bin/dbmigrator
--config=../cnx-archive/development.ini
--migrations-directory=../cnx-archive/cnxarchive/sql/migrations/ list
name                      | is applied | date applied
----------------------------------------------------------------------
20160101000000_update_fil   True         2016-04-18 23:26:28.835506+01:00
20160128110515_mimetype_o   True         2016-04-18 23:27:05.018055+01:00
20160128111115_mimetype_r   True         2016-04-18 23:26:28.835506+01:00
20160308064742_unique_fil   True         2016-04-18 23:26:28.835506+01:00
20160309072525_collation_   True         2016-04-18 23:26:28.835506+01:00
20160314200432_remove_xml   True         2016-04-18 23:26:28.835506+01:00
20160423022147_add_python   False

to:

karen@trusty:~/db-migrator (list)$ ./bin/dbmigrator --config=../cnx-archive/development.ini --migrations-directory=../cnx-archive/cnxarchive/sql/migrations/ list
version        | name            | is applied | date applied
----------------------------------------------------------------------
20160101000000   update_file_tri   True         2016-04-18 23:26:28.835506+01:00
20160128110515   mimetype_on_fil   True         2016-04-18 23:27:05.018055+01:00
20160128111115   mimetype_remova   True         2016-04-18 23:26:28.835506+01:00
20160308064742   unique_files_by   True         2016-04-18 23:26:28.835506+01:00
20160309072525   collation_schem   True         2016-04-18 23:26:28.835506+01:00
20160314200432   remove_xml_from   True         2016-04-18 23:26:28.835506+01:00
20160423022147   add_python_sql_   False

Change from:

```
karen@trusty:~/db-migrator (master)$ ./bin/dbmigrator
--config=../cnx-archive/development.ini
--migrations-directory=../cnx-archive/cnxarchive/sql/migrations/ list
name                      | is applied | date applied
----------------------------------------------------------------------
20160101000000_update_fil   True         2016-04-18 23:26:28.835506+01:00
20160128110515_mimetype_o   True         2016-04-18 23:27:05.018055+01:00
20160128111115_mimetype_r   True         2016-04-18 23:26:28.835506+01:00
20160308064742_unique_fil   True         2016-04-18 23:26:28.835506+01:00
20160309072525_collation_   True         2016-04-18 23:26:28.835506+01:00
20160314200432_remove_xml   True         2016-04-18 23:26:28.835506+01:00
20160423022147_add_python   False
```

to:

```
karen@trusty:~/db-migrator (list)$ ./bin/dbmigrator --config=../cnx-archive/development.ini --migrations-directory=../cnx-archive/cnxarchive/sql/migrations/ list
version        | name            | is applied | date applied
----------------------------------------------------------------------
20160101000000   update_file_tri   True         2016-04-18 23:26:28.835506+01:00
20160128110515   mimetype_on_fil   True         2016-04-18 23:27:05.018055+01:00
20160128111115   mimetype_remova   True         2016-04-18 23:26:28.835506+01:00
20160308064742   unique_files_by   True         2016-04-18 23:26:28.835506+01:00
20160309072525   collation_schem   True         2016-04-18 23:26:28.835506+01:00
20160314200432   remove_xml_from   True         2016-04-18 23:26:28.835506+01:00
20160423022147   add_python_sql_   False
```
@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.08% when pulling 63c8baf on list into 000b466 on master.

@mmulich mmulich merged commit d268c57 into master May 12, 2016
@mmulich mmulich deleted the list branch May 12, 2016 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants