Sha256: 4f65f31aaebda07fab78adcef7cc9c761ff929e51da20b12425d5c13774f4cfd
Contents?: true
Size: 430 Bytes
Versions: 21
Compression:
Stored size: 430 Bytes
Contents
class CreateAddresses < ActiveRecord::Migration def self.up create_table :addresses do |t| t.string :firstname t.string :lastname t.string :address1 t.string :address2 t.string :city t.references :state t.string :zipcode t.references :country t.string :phone t.timestamps end end def self.down drop_table :addresses end end
Version data entries
21 entries across 21 versions & 3 rubygems