spec/dummy/db/schema.rb in bloom_remit-0.4.1 vs spec/dummy/db/schema.rb in bloom_remit-0.5.0
- old
+ new
@@ -9,50 +9,40 @@
# 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: 20160808081300) do
+ActiveRecord::Schema.define(version: 20160809043433) 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
end
add_index "bloom_remit_responses", ["txn_id"], name: "index_bloom_remit_responses_on_txn_id", using: :btree
create_table "bloom_remit_txns", force: :cascade do |t|
- t.integer "status", default: 0, null: false
- t.string "sender_id", null: false
- t.string "sender_type", null: false
- t.decimal "amount", null: false
+ t.integer "status", default: 0, null: false
+ t.string "sender_id", null: false
+ t.string "sender_type", null: false
+ t.decimal "amount", null: false
t.string "account_name"
t.string "account_id"
- t.uuid "secret", null: false
- t.string "target_slug", null: false
+ 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
+ t.string "external_id", null: false
+ t.text "status_description"
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