Dennis Schubert
ef70549832
Replace usages of the deprecated delete_all with conditions
2017-08-12 15:39:26 +02:00
Dennis Schubert
b614237504
Make all current migrations Rails 4.2 based
2017-08-12 15:39:26 +02:00
Benjamin Neff
eb19c327e2
Add ApplicationRecord
2017-08-12 15:39:20 +02:00
Lukas Matt
cf5a9d7e04
Delete all null entries before removing the column
...
related to #7032
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
closes #7038
2016-09-01 22:49:07 +02:00
Benjamin Neff
c778fc4232
use plain sql for update_all to fix postgres
...
also added a migration model
2016-03-04 15:14:45 +01:00
Benjamin Neff
7011f2961d
Revert "Back out #6723 due to Postgres breakage"
...
This reverts commit 84cfbd22fc .
2016-03-04 14:01:31 +01:00
Dennis Schubert
84cfbd22fc
Back out #6723 due to Postgres breakage
...
This reverts commit 832a56134b , reversing
changes made to 75c3e6068c .
2016-03-04 13:33:32 +01:00
Benjamin Neff
9657810208
create migration to link share visibility directly with users
...
Also:
* remove share visibilities where the shareable is already deleted
* remove share visibilities where the user doesn't exist
* remove `created_at` and `updated_at` to make the table smaller
2016-03-03 21:43:08 +01:00