mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #10235 from mkllnk/drop-skrill
Remove unused Spree database table
This commit is contained in:
@@ -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
|
||||
|
||||
16
db/migrate/20230105000312_drop_spree_skrill_transactions.rb
Normal file
16
db/migrate/20230105000312_drop_spree_skrill_transactions.rb
Normal 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
|
||||
13
db/schema.rb
13
db/schema.rb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user