GispoCoding / tarmo

Tarmo - Tampere Mobilemap
https://ulkoilutampereenseutu.fi/
MIT License
11 stars 3 forks source link

Rename all constraints by table name #93

Closed Rikuoja closed 2 years ago

Rikuoja commented 2 years ago

Fix constrains that have names based on old table names. They cause confusion whenever new migrations are done.

Rikuoja commented 2 years ago

Will make a PR soon

Rikuoja commented 2 years ago

Basically, will need to make a migration that looks at constraint names first. If db is created from model.sql, the names are already right.