annotate .svn/pristine/ce/ceeec812f6673a5b491920c0b24b5c1bc35d610b.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 # Sample plugin migration
Chris@909 2 # Use rake db:migrate_plugins to migrate installed plugins
Chris@909 3 class CreateMeetings < ActiveRecord::Migration
Chris@909 4 def self.up
Chris@909 5 create_table :meetings do |t|
Chris@909 6 t.column :project_id, :integer, :null => false
Chris@909 7 t.column :description, :string
Chris@909 8 t.column :scheduled_on, :datetime
Chris@909 9 end
Chris@909 10 end
Chris@909 11
Chris@909 12 def self.down
Chris@909 13 drop_table :meetings
Chris@909 14 end
Chris@909 15 end