Sha256: 0cac3eebfc68959f85be6f45fa70a91631e472d702cb6054d2534a6c22a14717
Contents?: true
Size: 884 Bytes
Versions: 7
Compression:
Stored size: 884 Bytes
Contents
class IncreaseEmailTo254Chars < ActiveRecord::Migration def up change_column :accounts, :email, :string, limit: 254 change_column :contacts, :email, :string, limit: 254 change_column :contacts, :alt_email, :string, limit: 254 change_column :leads, :email, :string, limit: 254 change_column :leads, :alt_email, :string, limit: 254 change_column :users, :email, :string, limit: 254 change_column :users, :alt_email, :string, limit: 254 end def down change_column :accounts, :email, :string, limit: 64 change_column :contacts, :email, :string, limit: 64 change_column :contacts, :alt_email, :string, limit: 64 change_column :leads, :email, :string, limit: 64 change_column :leads, :alt_email, :string, limit: 64 change_column :users, :email, :string, limit: 64 change_column :users, :alt_email, :string, limit: 64 end end
Version data entries
7 entries across 7 versions & 2 rubygems