Chatwoot/db/migrate/20170211092540_notnullableusers.rb
2019-10-20 14:17:26 +05:30

6 lines
192 B
Ruby

class Notnullableusers < ActiveRecord::Migration[5.0]
def change
change_column :users, :name, :string, null: false
change_column :users, :account_id, :integer, null: false
end
end