view plugins/redmine_bibliography/db/migrate/001_create_authors.rb @ 1117:b4b72f1eb644 redmine-2.2-integration

Moved all the plugins from the vendor folder to the application root folder.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 12:32:05 +0000
parents vendor/plugins/redmine_bibliography/db/migrate/001_create_authors.rb@40144aa9dfe7
children
line wrap: on
line source
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