* Close anchor tag typo * Remove confusing message in profile * Fix typo in spec * Add old_slug and old_old_slug fields to org * Test for check_for_slug_change method * Add ability for orgs to change slug * Update copy to match new org language * Add redirect for organizations with old slugs * Use less queries for handling org/user redirect * Use consistent syntax for user creation * Test for organization slug redirects * Refactor user article redirect
6 lines
195 B
Ruby
6 lines
195 B
Ruby
class AddOldUsernamesToOrganizations < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_column :organizations, :old_slug, :string
|
|
add_column :organizations, :old_old_slug, :string
|
|
end
|
|
end
|