Merge pull request #10235 from mkllnk/drop-skrill

Remove unused Spree database table
This commit is contained in:
David Cook
2023-01-05 13:27:51 +11:00
committed by GitHub
3 changed files with 17 additions and 14 deletions

View File

@@ -3196,7 +3196,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
pending: "pending"
resumed: "resumed"
returned: "returned"
skrill: "skrill"
shipment_states:
backorder: "backorder"
partial: "partial"
@@ -4293,7 +4292,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
pending: pending
resumed: resumed
returned: returned
skrill: skrill
subscription_state:
active: active
pending: pending

View File

@@ -0,0 +1,16 @@
# frozen_string_literal: true
class DropSpreeSkrillTransactions < ActiveRecord::Migration[6.1]
def change
drop_table "spree_skrill_transactions", id: :serial, force: :cascade do |t|
t.string "email", limit: 255
t.float "amount"
t.string "currency", limit: 255
t.integer "transaction_id"
t.integer "customer_id"
t.string "payment_type", limit: 255
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_12_08_150521) do
ActiveRecord::Schema.define(version: 2023_01_05_000312) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -890,17 +890,6 @@ ActiveRecord::Schema.define(version: 2022_12_08_150521) do
t.index ["shipment_id", "shipping_method_id"], name: "spree_shipping_rates_join_index", unique: true
end
create_table "spree_skrill_transactions", id: :serial, force: :cascade do |t|
t.string "email", limit: 255
t.float "amount"
t.string "currency", limit: 255
t.integer "transaction_id"
t.integer "customer_id"
t.string "payment_type", limit: 255
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "spree_state_changes", id: :serial, force: :cascade do |t|
t.string "name", limit: 255
t.string "previous_state", limit: 255