spec/dummy/db/schema.rb in money-rails-0.12.0 vs spec/dummy/db/schema.rb in money-rails-1.0.0
- old
+ new
@@ -7,45 +7,45 @@
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
-# It's strongly recommended to check this file into your version control system.
+# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20140110194016) do
+ActiveRecord::Schema.define(version: 20140110194016) do
- create_table "dummy_products", :force => true do |t|
+ create_table "dummy_products", force: true do |t|
t.string "currency"
t.integer "price_cents"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at"
+ t.datetime "updated_at"
end
- create_table "products", :force => true do |t|
+ create_table "products", force: true do |t|
t.integer "price_cents"
t.integer "discount"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at"
+ t.datetime "updated_at"
t.integer "bonus_cents"
t.integer "optional_price_cents"
- t.integer "sale_price_amount", :default => 0, :null => false
+ t.integer "sale_price_amount", default: 0, null: false
t.string "sale_price_currency_code"
t.integer "price_in_a_range_cents"
t.integer "validates_method_amount_cents"
end
- create_table "services", :force => true do |t|
+ create_table "services", force: true do |t|
t.integer "charge_cents"
t.integer "discount_cents"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at"
+ t.datetime "updated_at"
end
- create_table "transactions", :force => true do |t|
+ create_table "transactions", force: true do |t|
t.integer "amount_cents"
t.integer "tax_cents"
t.string "currency"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at"
+ t.datetime "updated_at"
end
end