about summary refs log tree commit diff
path: root/db/migrate/20200215021732_validate_statuses_hidden_not_null.rb
blob: 0822ff73c2f7d7b291ec37a2e526302ff492ac32 (plain) (blame)
1
2
3
4
5
6
7
class ValidateStatusesHiddenNotNull < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      execute 'ALTER TABLE "statuses" VALIDATE CONSTRAINT "statuses_hidden_null"'
    end
  end
end