Sha256: da9683139ff468aecc0f7070ad9ead4071cc0ba99b46d9c712ca97c32103df39

Contents?: true

Size: 178 Bytes

Versions: 160

Compression:

Stored size: 178 Bytes

Contents

class MoveSlugToPathRule < ActiveRecord::Migration[4.2]
  def change
    remove_column :guides, :slug, :string
    add_column :path_rules, :slug, :string, unique: true
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-domain-6.6.2 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.6.1 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.6.0 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.5.1 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.5.0 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.4.3 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.4.2 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.4.1 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.4.0 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.2.2 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.2.1 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.3.0 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.2.0 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.1.5 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.0.4 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.1.4 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.1.3 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.1.2 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.0.3 db/migrate/20151107232242_move_slug_to_path_rule.rb
mumuki-domain-6.0.1 db/migrate/20151107232242_move_slug_to_path_rule.rb