Add db upgrade step
This commit is contained in:
parent
a3923b7f6f
commit
3501138074
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ needed initially.
|
||||||
|
|
||||||
To upgrade the database after making changes to commit:
|
To upgrade the database after making changes to commit:
|
||||||
|
|
||||||
|
1. Increment the `$VERSION` number in `lib/Pear/LocalLoop/Schema.pm`
|
||||||
1. `./script/deploy_db write_ddl -c 'dbi:SQLite:dbname=foodloop.db'`
|
1. `./script/deploy_db write_ddl -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
1. `./script/deploy_db upgrade -c 'dbi:SQLite:dbname=foodloop.db'`
|
1. `./script/deploy_db upgrade -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
|
|
||||||
|
|
Reference in a new issue