class CreateMechanizeStorePayments < ActiveRecord::Migration def change create_table :mechanize_store_payments do |t| t.integer :payable_id t.string :payable_type t.references :payment_status, index: true t.float :value t.float :paid_value t.datetime :paid_in t.integer :plot t.references :flag, index: true t.timestamps end end end