Sha256: 4a14cd3d5774beb93030dc17501c604d8cb113e4d745b846d7961677589e3535

Contents?: true

Size: 236 Bytes

Versions: 277

Compression:

Stored size: 236 Bytes

Contents

class WeNeedReminders < ActiveRecord::Migration
  def self.up
    create_table("reminders") do |t|
      t.column :content, :text
      t.column :remind_at, :datetime
    end
  end
  
  def self.down
    drop_table "reminders"
  end
end

Version data entries

277 entries across 101 versions & 6 rubygems

Version Path
activerecord-1.13.0 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.10.1 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.11.1 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.10.0 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.12.2 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.13.0 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.12.1 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.11.0 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.13.2 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.14.1 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.14.2 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.13.1 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.14.0 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.14.0 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.13.1 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.13.2 test/fixtures/migrations/2_we_need_reminders.rb
activerecord-1.14.2 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.14.3 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.14.1 test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
activerecord-1.14.3 test/fixtures/migrations/2_we_need_reminders.rb