Class: CreateQboErrors
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateQboErrors
- Defined in:
- lib/generators/qbo_rails/install/templates/db/migrate/create_qbo_errors.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/qbo_rails/install/templates/db/migrate/create_qbo_errors.rb', line 2 def change create_table :qbo_errors, force: true do |t| t.string :message t.text :body t.string :resource_type, limit: 100 t.integer :resource_id t.text :request_xml t. :null => false end end |