Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateClients < ActiveRecord::Migration
- def self.up
- create_table :clients do |t|
- t.column :tradename_id, :integer, :null => false
- t.column :screen_name, :string
- t.column :email, :string
- t.column :password, :string
- t.column :business_name, :string
- t.column :address_line1, :string
- t.column :address_line2, :string
- t.column :address_city, :string
- t.column :address_state, :string
- t.column :address_zip, :integer
- t.column :contact_phone, :string
- end
- end
- def self.down
- drop_table :clients
- end
- end
Add Comment
Please, Sign In to add comment