Sha256: 8e90eaaae4f54c806a66c9f068cc649b76936692baac3bde338e3b87d6ea887a

Contents?: true

Size: 180 Bytes

Versions: 9

Compression:

Stored size: 180 Bytes

Contents

class AddSlugToSpreeVendors < SpreeExtension::Migration[4.2]
  def change
    add_column :spree_vendors, :slug, :string
    add_index :spree_vendors, :slug, unique: true
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_multi_vendor-2.5.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.4.1 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
atkhayar-dev-spree-multi-vendor-0.0.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.4.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.3.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.2.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.1.0 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.0.2 db/migrate/20190212161426_add_slug_to_spree_vendors.rb
spree_multi_vendor-2.0.1 db/migrate/20190212161426_add_slug_to_spree_vendors.rb