...
Create a new database for COmanage Registry. You can name the new database whatever you like. Set the configuration information, including the password to connect to the database with, in app/config/database.php
.
For COmanage Registry 0.3 and later
Set up the database schema.
Code Block |
---|
$ cd cake/console $ ./cake database [...] Database schema update successful |
Note | ||
---|---|---|
| ||
Upgrading from 0.2 or earlier to 0.3 or later is not supported. When upgrading the database schema (past 0.3) on Postgres, you may see "Possibly failed to update database schema" instead. This is probably OK. (CO-165)note} For COmanage Registry 0.1 and 0.2Set up the database schema. You will need permission to write to the tmp directory (set above) to run this command.
| ||
If you get the error message /path/to/app/config/schema/schema.php could not be loaded
while trying to create the schema, you are running an old version of the PCRE library. See the warning earlier on this page for more information.
Note | |||||||
---|---|---|---|---|---|---|---|
There is not currently an elegant way to upgrade database schemas that involve new tables (see COmanage and CakePHP issue tracking). To upgrade 0.1 to 0.2, run
TBD: It's unclear if this will catch |
...