* Cleaned up the foreign key constraints.

* Generate SQLite and PostgreSQL schemas from hydra.sql.
This commit is contained in:
Eelco Dolstra
2009-10-21 12:25:43 +00:00
parent 2cf42489e2
commit 686b6271d2
24 changed files with 276 additions and 240 deletions

View File

@ -1,9 +1,6 @@
* Recreating the schema bindings:
$ rm tmp.sqlite
$ sqlite3 tmp.sqlite < sql/hydra.sql
# $ ~/bin/genfkey tmp.sqlite > sql/fk-triggers.sql
$ perl -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:./lib -e 'make_schema_at("Hydra::Schema", { relationships => 1, moniker_map => sub {return $_;} }, ["dbi:SQLite:tmp.sqlite"])'
$ make -C src/sql update-dbix
* Running the test server: