spree_purchase_order 3.4.0 → 3.5.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ee20e936b960e9ef55434386dcca247dd9c8ff9
4
- data.tar.gz: 82f66cda20812bb48b5316c2d1183fc5f83769c6
3
+ metadata.gz: 60e9e361d2c028ea6b0072d069986a34fd28cc15
4
+ data.tar.gz: c4269892c72a026ba0006b52cd786f7bcc2a0986
5
5
  SHA512:
6
- metadata.gz: 4a23c2b5d7f7a2550765248683bb4c117f522a35767317e353011be8248291e1b570a945ac05d9de6b0bcba95c13be3246204c1da73b9d56051b9eeb125bd26d
7
- data.tar.gz: bbccb2a1d8ede37a63ba855f41069efc12f6307b517f79c5a61788f15a859dfdd3c4128b6cb32008cdabcb521995df3250de171f7b5fdec085ff6b6d73e3750a
6
+ metadata.gz: e3a92bd2634ba5a778e4cb69e85d2d15c3dcb756b2502184d55723406a08a6ebd7f70d8fd22fbd5e3e8ec403139783976da0e8ef276dea272c96340275116808
7
+ data.tar.gz: 38c363b7150ce553cad72e1a05c7dabbab7c3ae49ec244643902e3e17c3669a566df07f801e7e37c647aeefab965119e3b453efc69227d6883efae7b44a1d1f2
@@ -1,3 +1,3 @@
1
1
  module SpreePurchaseOrder
2
- VERSION = '3.4.0'
2
+ VERSION = '3.5.0.rc1'
3
3
  end
@@ -0,0 +1,9 @@
1
+ # This migration comes from spree (originally 20171004223836)
2
+ class RemoveIconFromTaxons < ActiveRecord::Migration[5.1]
3
+ def change
4
+ remove_column :spree_taxons, :icon_file_name
5
+ remove_column :spree_taxons, :icon_content_type
6
+ remove_column :spree_taxons, :icon_file_size
7
+ remove_column :spree_taxons, :icon_updated_at
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ # This migration comes from spree (originally 20180222133746)
2
+ class AddUniqueIndexOnSpreePromotionsCode < ActiveRecord::Migration[5.1]
3
+ def change
4
+ remove_index :spree_promotions, :code
5
+ add_index :spree_promotions, :code, unique: true
6
+ end
7
+ end
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20180516191833) do
13
+ ActiveRecord::Schema.define(version: 20180516202854) do
14
14
 
15
15
  create_table "friendly_id_slugs", force: :cascade do |t|
16
16
  t.string "slug", null: false
@@ -493,7 +493,7 @@ ActiveRecord::Schema.define(version: 20180516191833) do
493
493
  t.datetime "updated_at", null: false
494
494
  t.integer "promotion_category_id"
495
495
  t.index ["advertise"], name: "index_spree_promotions_on_advertise"
496
- t.index ["code"], name: "index_spree_promotions_on_code"
496
+ t.index ["code"], name: "index_spree_promotions_on_code", unique: true
497
497
  t.index ["expires_at"], name: "index_spree_promotions_on_expires_at"
498
498
  t.index ["id", "type"], name: "index_spree_promotions_on_id_and_type"
499
499
  t.index ["promotion_category_id"], name: "index_spree_promotions_on_promotion_category_id"
@@ -955,10 +955,6 @@ ActiveRecord::Schema.define(version: 20180516191833) do
955
955
  t.integer "taxonomy_id"
956
956
  t.integer "lft"
957
957
  t.integer "rgt"
958
- t.string "icon_file_name"
959
- t.string "icon_content_type"
960
- t.integer "icon_file_size"
961
- t.datetime "icon_updated_at"
962
958
  t.text "description"
963
959
  t.datetime "created_at", null: false
964
960
  t.datetime "updated_at", null: false
Binary file