Sha256: 38711d52da7c658b865ddd87d09a39e2e46796c51792fd22cd220ccfe45199cc
Contents?: true
Size: 720 Bytes
Versions: 26
Compression:
Stored size: 720 Bytes
Contents
class CreateContacts < ActiveRecord::Migration[5.1] def change create_table :contacts do |t| t.string :name, limit: 512 t.string :account_type, null: true, limit: 256 t.string :email, :null => true, limit: 256 t.string :address, :null => true, limit: 512 t.references :owner, references: :user t.references :done_deal_user, references: :user t.references :registration t.references :device t.string :contact_number_1, :null => false, :limit=>24 t.string :contact_number_2, :null => true, :limit=>24 t.string :contact_number_3, :null => true, :limit=>24 t.string :contact_number_4, :null => true, :limit=>24 end end end
Version data entries
26 entries across 26 versions & 1 rubygems