Add NOT NULL constraint

#700
This commit is contained in:
Artur Beljajev 2018-02-13 20:45:30 +02:00
parent 3c274ba8d4
commit 1f66f1323a
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class ChangeEppSessionsUserIdToNotNull < ActiveRecord::Migration
def change
change_column_null :epp_sessions, :user_id, false
end
end