Sha256: d3cccd1b6d3af9127c3fc7ca2567959c9dd02dadcf1c804a67c9c5c2c9e77489

Contents?: true

Size: 234 Bytes

Versions: 368

Compression:

Stored size: 234 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

368 entries across 119 versions & 24 rubygems

Version Path
radiant-1.0.0.rc2 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
radiant-1.0.0.rc2 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
radiant-1.0.0.rc2 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
radiant-1.0.0.rc1 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
radiant-1.0.0.rc1 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
radiant-1.0.0.rc1 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
webroar-0.5.0 src/admin_panel/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
webroar-0.5.0 src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
webroar-0.5.0 src/admin_panel/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.11 test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.11 test/migrations/duplicate/2_we_need_reminders.rb
activerecord-2.3.11 test/migrations/missing/3_we_need_reminders.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
ensured_schema-0.1.6 test/migrations/valid/2_we_need_reminders.rb
ensured_schema-0.1.6 test/migrations/missing/3_we_need_reminders.rb
ensured_schema-0.1.6 test/migrations/duplicate/2_we_need_reminders.rb
ensured_schema-0.1.5 test/migrations/missing/3_we_need_reminders.rb
ensured_schema-0.1.5 test/migrations/duplicate/2_we_need_reminders.rb