Ticket #803 (closed story: invalid)
Auto-generate next migration version unit and test stub files
Reported by: | johnbywater | Owned by: | thejimmyg |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
As a system developer, I want to run 'create next migration version' script, so that I don't have to create migration version tests and files manually.
Change History
comment:2 Changed 3 years ago by dread
I'm not sure a template is needed for the test script - surely repeated stuff can just be factored out?
Creating the model dump file:
- 'hg up' to ckan as it was at the last model migration
- 'paster db clean', 'paster db init', 'paster create-test-data'
- 'pgdump'
- 'hg up default'
- Check in the dumped file
Do we really want a script to mess with our repo like this? Isn't it just safer to do manually with good instructions?
Note: See
TracTickets for help on using
tickets.