mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Change contacts.name
database column to NOT NULL
This commit is contained in:
parent
b4be9e7f00
commit
22c6fd61e3
5 changed files with 14 additions and 8 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeContactsNameToNotNull < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_null :contacts, :name, false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue