blob: d16dc9f38223e1919f87a2fba465e6da0588402b (
plain) (
blame)
1
2
3
4
5
6
7
|
class SetStatusesHiddenNotNull < ActiveRecord::Migration[5.2]
def change
safety_assured do
execute 'ALTER TABLE "statuses" ADD CONSTRAINT "statuses_hidden_null" CHECK ("hidden" IS NOT NULL) NOT VALID'
end
end
end
|