spec/dummy/db/schema.rb in bloom_remit-0.5.0 vs spec/dummy/db/schema.rb in bloom_remit-0.6.0
- old
+ new
@@ -9,19 +9,30 @@
# 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 that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20160809043433) do
+ActiveRecord::Schema.define(version: 20160817003323) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
+ enable_extension "hstore"
create_table "billers", force: :cascade do |t|
t.string "slug"
end
+ create_table "bloom_remit_billers", force: :cascade do |t|
+ t.string "slug", null: false
+ t.text "description"
+ t.hstore "fields"
+ t.decimal "service_charge", default: 0.0, null: false
+ t.datetime "deactivated_at"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
create_table "bloom_remit_responses", force: :cascade do |t|
t.integer "txn_id", null: false
t.text "body", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
@@ -40,13 +51,15 @@
t.string "target_slug", null: false
t.string "owner_id"
t.string "owner_type"
t.string "external_id", null: false
t.text "status_description"
+ t.string "vendor_external_id"
end
add_index "bloom_remit_txns", ["external_id"], name: "index_bloom_remit_txns_on_external_id", using: :btree
add_index "bloom_remit_txns", ["owner_id", "owner_type"], name: "index_bloom_remit_txns_on_owner_id_and_owner_type", using: :btree
+ add_index "bloom_remit_txns", ["vendor_external_id"], name: "index_bloom_remit_txns_on_vendor_external_id", using: :btree
create_table "payments", force: :cascade do |t|
t.string "type"
end