]> git.donarmstrong.com Git - debbugs.git/commitdiff
update DBI documentation
authorDon Armstrong <don@donarmstrong.com>
Fri, 14 Apr 2017 16:34:50 +0000 (09:34 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 14 Apr 2017 16:34:50 +0000 (09:34 -0700)
sql/README.mdwn

index 334fabc81d83c4fc0c934d982c2f941c84f66c42..a5dc05e9e0a2cf607a5495e29c788e067e611d77 100644 (file)
@@ -7,13 +7,11 @@ To make changes to the database schema:
    debbugs_schema.sql file, and make corresponding changes to the
    database (or dump the entire database and otherwise make the
    changes).
-2. Run `./sql/dbicdump_command.sh` to update the DBIx::Class classes
-   which are under Debbugs::DB
+    + If you add non-unique indexes, you will need to add an sqlt_deploy_hook
+      (or edit an exist one) to add the index
+2. Run `./sql/dbicdump_command.sh` to update the DBIx::Class classes which are
+   under Debbugs::DB if you made changes to the database directly
 3. Increment the version of Debbugs::DB;
-4. Run `./bin/debbugs-installsql --install --deployment-dir sql --developer-prepare`
-   and `./bin/debbugs-installsql --upgrade --deployment-dir sql --developer-prepare`
-   which will generate the files necessary to do upgrades in the field.
-
 
 Steps 1 and 2 can alternatively be performed by changing the
 DBIx::Class classes directly if that is desired.