From fa57fb8f25dbc31acf2a2d4fbdd65b90eccae52f Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 26 Aug 2021 16:32:20 -0400 Subject: [PATCH] hydra.sql: explain update-dbix.pl map --- src/sql/hydra.sql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/sql/hydra.sql b/src/sql/hydra.sql index f961fbc9..9f5857c2 100644 --- a/src/sql/hydra.sql +++ b/src/sql/hydra.sql @@ -2,11 +2,15 @@ -- -- 1. Update this schema document to match what the end result should be. -- --- 2. Run `make -C src/sql update-dbix` in the root +-- 2. If you're making a new database table, edit `update-dbix.pl` and +-- add a map of the lowercase name of your table to the CamelCase +-- version of your table. +-- +-- 3. Run `make -C src/sql update-dbix` in the root -- of the project directory, and git add / git commit the changed, -- generated files. -- --- 3. Create a migration in this same directory, named `upgrade-N.sql` +-- 4. Create a migration in this same directory, named `upgrade-N.sql` -- -- Singleton table to keep track of the schema version.