Mercurial > hg > soundsoftware-site
diff plugins/redmine_bibliography/db/migrate/001_create_authors.rb @ 1520:a1bdbf8a87d5 redmine-2.5-integration
Merge from branch "redmine-2.4-integration"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 10:02:18 +0100 |
parents | b4b72f1eb644 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/redmine_bibliography/db/migrate/001_create_authors.rb Tue Sep 09 10:02:18 2014 +0100 @@ -0,0 +1,12 @@ +class CreateAuthors < ActiveRecord::Migration + def self.up + create_table :authors do |t| + t.column :user_id, :integer + t.column :name, :string + end + end + + def self.down + drop_table :authors + end +end