spec/dummy/db/schema.rb in bloom_remit-0.2.1 vs spec/dummy/db/schema.rb in bloom_remit-0.3.0
- old
+ new
@@ -9,11 +9,11 @@
# 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: 20160806054012) do
+ActiveRecord::Schema.define(version: 20160808081300) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "billers", force: :cascade do |t|
@@ -38,11 +38,13 @@
t.string "account_id"
t.uuid "secret", null: false
t.string "target_slug", null: false
t.string "owner_id"
t.string "owner_type"
+ t.string "external_id", null: false
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
create_table "payments", force: :cascade do |t|
t.string "type"
end