Sha256: ce073f88f1a8e99c88955a2d306eede89e80cd1d9ebdb829f014607f08ee81fd
Contents?: true
Size: 844 Bytes
Versions: 6
Compression:
Stored size: 844 Bytes
Contents
# This migration comes from spree (originally 20140309024355) class CreateSpreeStores < ActiveRecord::Migration[4.2] def change if data_source_exists?(:spree_stores) rename_column :spree_stores, :domains, :url rename_column :spree_stores, :email, :mail_from_address add_column :spree_stores, :meta_description, :text add_column :spree_stores, :meta_keywords, :text add_column :spree_stores, :seo_title, :string else create_table :spree_stores do |t| t.string :name t.string :url t.text :meta_description t.text :meta_keywords t.string :seo_title t.string :mail_from_address t.string :default_currency t.string :code t.boolean :default, default: false, null: false t.timestamps null: false end end end end
Version data entries
6 entries across 6 versions & 1 rubygems