annotate .svn/pristine/c7/c7478ec9fe0088baa4bd4e0b03aab480956ab36b.svn-base @ 1058:5afaa9c17891 bibplugin_bibtex_display

Using the bibplugin_integration branch from now on.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Nov 2012 19:01:01 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class CreateChanges < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 create_table :changes do |t|
Chris@909 4 t.column :changeset_id, :integer, :null => false
Chris@909 5 t.column :action, :string, :limit => 1, :default => "", :null => false
Chris@909 6 t.column :path, :string, :default => "", :null => false
Chris@909 7 t.column :from_path, :string
Chris@909 8 t.column :from_revision, :integer
Chris@909 9 end
Chris@909 10 add_index :changes, [:changeset_id], :name => :changesets_changeset_id
Chris@909 11 end
Chris@909 12
Chris@909 13 def self.down
Chris@909 14 drop_table :changes
Chris@909 15 end
Chris@909 16 end