Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/db/migrate/001_create_authors.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 |
---|---|
luis@328 | 1 class CreateAuthors < ActiveRecord::Migration |
luis@328 | 2 def self.up |
luis@328 | 3 create_table :authors do |t| |
luis@328 | 4 t.column :user_id, :integer |
luis@406 | 5 t.column :name, :string |
luis@328 | 6 end |
luis@328 | 7 end |
luis@328 | 8 |
luis@328 | 9 def self.down |
luis@328 | 10 drop_table :authors |
luis@328 | 11 end |
luis@328 | 12 end |