Skip to content

Instantly share code, notes, and snippets.

@greggroth
Created June 14, 2012 22:37
Show Gist options
  • Save greggroth/2933437 to your computer and use it in GitHub Desktop.
Save greggroth/2933437 to your computer and use it in GitHub Desktop.
diff --git a/db/schema.rb b/db/schema.rb
index 609c0a0..d37e32d 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -97,18 +97,18 @@ ActiveRecord::Schema.define(:version => 20120614194043) do
t.date "due"
t.text "notes"
t.integer "customer_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.decimal "total", :precision => 30, :scale => 2
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ t.decimal "total"
t.string "state"
end
create_table "transactions", :force => true do |t|
t.integer "invoice_id"
- t.decimal "amount", :precision => 30, :scale => 2
+ t.decimal "amount"
t.date "date"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.string "transaction_type"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment