annotate .svn/pristine/4e/4e8ea0df2bcad47fe62855e09a9ca0f2f38daa1e.svn-base @ 1427:2599a11ef11a biblio_alt_search_auth

Fixes Bug #762 - was replacing the whole content of the span, including the tag itself (which was being used as the "anchor").
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Oct 2013 17:06:37 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 class AddRolePosition < ActiveRecord::Migration
Chris@1296 2 def self.up
Chris@1296 3 add_column :roles, :position, :integer, :default => 1
Chris@1296 4 Role.all.each_with_index {|role, i| role.update_attribute(:position, i+1)}
Chris@1296 5 end
Chris@1296 6
Chris@1296 7 def self.down
Chris@1296 8 remove_column :roles, :position
Chris@1296 9 end
Chris@1296 10 end