Mercurial > hg > soundsoftware-site
annotate plugins/redmine_checkout/db/migrate/20100118174556_add_render_link.rb @ 1458:b1f4c9a2af24 bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:22 +0000 |
parents | b4b72f1eb644 |
children |
rev | line source |
---|---|
Chris@16 | 1 class AddRenderLink < ActiveRecord::Migration |
Chris@16 | 2 def self.up |
Chris@16 | 3 add_column :repositories, :render_link, :boolean, :null => true |
Chris@16 | 4 end |
Chris@16 | 5 |
Chris@16 | 6 def self.down |
Chris@16 | 7 remove_column :repositories, :render_link |
Chris@16 | 8 end |
Chris@16 | 9 end |