humhub-contrib / legal

2 stars 9 forks source link

Rename column 'last_update' to 'updated_at' #74

Closed felixhahnweilheim closed 3 months ago

felixhahnweilheim commented 3 months ago

... and change type to 'datetime'

It seems the column 'last_update' was not used at all and was always null. By renaming the column to 'updated_at' the datetime is saved automatically (handled by https://github.com/humhub/humhub/blob/master/protected/humhub/components/ActiveRecord.php)