Sha256: 586cedbe4299279be1f45777b5c1df89e817ab5788be085c30ab1377096b8cdc

Contents?: true

Size: 505 Bytes

Versions: 160

Compression:

Stored size: 505 Bytes

Contents

class AddCustomEditorAssetsToLanguage < ActiveRecord::Migration[5.1]
  def change
    rename_column :languages, :assets_js_urls, :layout_js_urls
    rename_column :languages, :assets_html_urls, :layout_css_urls
    rename_column :languages, :assets_css_urls, :layout_html_urls

    change_table :languages do |t|
      t.string :editor_js_urls, array: true, default: []
      t.string :editor_html_urls, array: true, default: []
      t.string :editor_css_urls, array: true, default: []
    end
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-domain-8.3.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.2.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.1.3 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.1.2 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.1.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.1.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-8.0.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.12.2 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.12.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.12.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.11.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-laboratory-7.11.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-c92f2a7212e2/db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-laboratory-7.11.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-2e15c3330133/db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.11.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.10.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.10.0 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-laboratory-7.9.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-7082a83493eb/db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.9.2 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-laboratory-7.9.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-b162dc91aa77/db/migrate/20180117014110_add_custom_editor_assets_to_language.rb
mumuki-domain-7.9.1 db/migrate/20180117014110_add_custom_editor_assets_to_language.rb