view plugins/redmine_bibliography/db/migrate/002_create_publications.rb @ 1583:0dcd4f8c2b8a dockerise

Small update, commit Gemfile.lock
author Chris Cannam
date Wed, 16 Aug 2017 12:29:01 +0100
parents b4b72f1eb644
children
line wrap: on
line source
class CreatePublications < ActiveRecord::Migration
  def self.up
    create_table :publications do |t|
      t.column :title, :string
      t.column :reviewed, :boolean, :default => false
    end
  end

  def self.down
    drop_table :publications
  end
end