1 class CreateCustomers < ActiveRecord::Migration
3 create_table :customers do |t|
4 t.column :name, :string
5 t.column :address, :string
6 t.column :email, :string
7 t.column :phone, :string
8 t.column :debt, :decimal, :precision => 8, :scale => 2, :default => 0