qwat / qwat-data-model

TEKSI Water module (project QWAT) - PostgreSQL / postgis Datamodel
https://www.teksi.ch
23 stars 24 forks source link

fix 2 for 1.2.8 #203

Closed haubourg closed 6 years ago

haubourg commented 6 years ago

This time, changing trigger naming in init process and restore correct naming in delta file. Also Rename fn_enable_schemaview.sql to fn_enable_schemavisible.sql and fix init_qwat.sh to use this new name. This will keep naming convention correct. The migration works from 1.2.6 on my install up to 1.2.9 using the fixed upgred_db.sh.

@3nids I'm letting you merge or fix it using another method.

3nids commented 6 years ago

this is fine with me, but it comes back to its previous state apart from the file name, no?

haubourg commented 6 years ago

Nope, previous state we had an inconsistency between trigger names generated by the delta and trigger names generated by the init process. We're now inline.

3nids commented 6 years ago

perfect then :)