Sha256: c747b8d94d6550ef3fdc702a4d3df3fd1dfe9fcc94e5b955daffde1b97228612
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
class CreateAddresses < ActiveRecord::Migration def change create_table :addresses do |t| t.string :firstname, :null => false t.string :lastname, :null => false t.string :address1, :null => false t.string :address2 t.string :city, :null => false t.references :state, :null => false t.references :country, :null => false t.string :zip, :null => false t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems