Sha256: 7f552ebefd301cd642e12d5e126c7361ef3b59dfeaea9772ef65709d7b73eee6
Contents?: true
Size: 444 Bytes
Versions: 96
Compression:
Stored size: 444 Bytes
Contents
class CreatePayments < ActiveRecord::Migration def change create_table :payments do |t| t.references :order t.references :payment_method t.string :status, :null => false, :default => 'paid' t.decimal :total, :null => false, :default => 0.0 t.string :number t.integer :month t.integer :year t.string :verification_value t.string :transaction_id t.timestamps end end end
Version data entries
96 entries across 96 versions & 2 rubygems