Remove references to hydra-postgresql.sql

[?]
Jun 5, 2020, 11:42 AM
2JU5XTDPDVNAMZRTAZCKO77CNTJGHHNORKMKKMBZXSTRIKTWPYAAC

Dependencies

  • [2] EHEJZ6YV Actually add SQL files to the distribution.
  • [3] 75BCCX2T Get rid of dependency to SQLite
  • [4] KN3VYE5P * Cleaned up the foreign key constraints.
  • [5] FV2M6MOT hydra: use autoconf/-make
  • [6] 4S5JF5JP Use latest DBIx::Class::Schema::Loader
  • [7] 32MXC7NN hydra-init: show SQL commands being executed
  • [8] IGR322YP sql: Generate models from postgresql
  • [9] AMFMXR52 Provide a command ‘hydra-init’ to initialise/upgrade the database
  • [10] P73KM42L Update the list of SQL files to be installed.
  • [11] OKLEIKBG Add missing upgrade-*.sql files

Change contents

  • replacement in src/script/hydra-init at line 28
    [4.76][4.76:152]()
    $dbh->{Driver}->{Name} eq 'Pg' ? "$home/sql/hydra-postgresql.sql" :
    [4.3345]
    [3.810]
    $dbh->{Driver}->{Name} eq 'Pg' ? "$home/sql/hydra.sql" :
  • edit in src/sql/Makefile.am at line 3
    [2.28][4.23:51](),[4.23][4.23:51]()
    hydra-postgresql.sql \
  • edit in src/sql/Makefile.am at line 7
    [4.1657][4.171:172](),[4.3454][4.171:172](),[4.172][4.3454:3554](),[4.3454][4.3454:3554]()
    hydra-postgresql.sql: hydra.sql
    cpp -P -E -traditional-cpp -DPOSTGRESQL hydra.sql > $@ || rm -f $@
  • replacement in src/sql/Makefile.am at line 8
    [4.3555][4.8645:8679]()
    update-dbix: hydra-postgresql.sql
    [4.3555]
    [4.8679]
    update-dbix: hydra.sql
  • replacement in src/sql/update-dbix-harness.sh at line 36
    [4.9384][4.9384:9438]()
    psql -h "$socket" "$dbname" -f ./hydra-postgresql.sql
    [4.9384]
    [4.9438]
    psql -h "$socket" "$dbname" -f ./hydra.sql