* feat: add the order of the navigational items to the database + admin interface * refactor: rename :display_when_signed_in to :display_only_when_signed_in * chore: rename all instances of display_when_signed_in to display_only_when_signed_in * feat: add a data script that will setup the base urls * feat: add a temporary rake file that will allow us to seed prod db's * chore: oops rename file * chore: remove the index for now * chore: remove validation * feat: change the order field to position and add an index o the name and url * feat: update everything that uses order to position * refactor: order by name as a secondary attr
5 lines
143 B
Ruby
5 lines
143 B
Ruby
class AddPositionToNavigationLinks < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :navigation_links, :position, :integer
|
|
end
|
|
end
|