Sha256: f1648f3bfc84d4d541a89e6ac2f26f588d2254fb04facf2cb6039f7ecdb7f36f

Contents?: true

Size: 303 Bytes

Versions: 19

Compression:

Stored size: 303 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddJsonType < Card::Migration::Core
  def up
    ensure_card "json", codename: "json", type_id: Card::CardtypeID
    update_card :ace, type_id: Card::JsonID
    update_card :prose_mirror, type_id: Card::JsonID
    update_card :tiny_mce, type_id: Card::JsonID
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
card-1.98.3 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.98.2 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.98.1 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.98.0 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.97.0.1 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.97.0 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.8 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.7 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.6 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.5 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.4 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.3 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.2 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.1 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.96.0 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.95.3 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.95.2 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.95.1 db/migrate_core_cards/20180508210903_add_json_type.rb
card-1.95.0 db/migrate_core_cards/20180508210903_add_json_type.rb