annotate .svn/pristine/3d/3dff9c6069908256974f3f7783cf2d5ebeafb576.svn-base @ 1478:5ca1f4a47171 bibplugin_db_migrations

Close obsolete branch bibplugin_db_migrations
author Chris Cannam
date Fri, 30 Nov 2012 14:40:50 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class CreateIssueRelations < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 create_table :issue_relations do |t|
Chris@909 4 t.column :issue_from_id, :integer, :null => false
Chris@909 5 t.column :issue_to_id, :integer, :null => false
Chris@909 6 t.column :relation_type, :string, :default => "", :null => false
Chris@909 7 t.column :delay, :integer
Chris@909 8 end
Chris@909 9 end
Chris@909 10
Chris@909 11 def self.down
Chris@909 12 drop_table :issue_relations
Chris@909 13 end
Chris@909 14 end