annotate .svn/pristine/c7/c7478ec9fe0088baa4bd4e0b03aab480956ab36b.svn-base @ 1271:cf4cc816278a live last_rails2_version

Remove inner quotes from realm (workaround for #577)
author Chris Cannam
date Tue, 07 May 2013 12:45:51 +0100
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