waagsociety / citysdk-ld

CitySDK Linked Data API
MIT License
60 stars 4 forks source link

DB trigger to set object's layer_id to -1 #7

Open bertspaan opened 10 years ago

bertspaan commented 10 years ago

Setting the layer_id of an object to -1 when the object's layer or owner is deleted is now done in Ruby code (here, here and here).

Instead, see if it's possible to use BEFORE trigger on objects table to do this.