Sha256: b6a99694de8f966fca10dd9e2b67c433f4901e2794732eed5fb399db9dfe23af
Contents?: true
Size: 397 Bytes
Versions: 65
Compression:
Stored size: 397 Bytes
Contents
class CreateReturnAuthorizations < ActiveRecord::Migration def self.up create_table :return_authorizations do |t| t.string :number t.decimal :amount, :precision => 8, :scale => 2, :default => 0.0, :null => false t.references :order t.text :reason t.string :state t.timestamps end end def self.down drop_table :return_authorizations end end
Version data entries
65 entries across 53 versions & 10 rubygems