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
ibm_db-3.0.4-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.4-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-3.0.4-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.4 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.4 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.4 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-3.0.3 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.3 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.3 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.2 test/migrations/missing/3_we_need_reminders.rb
ibm_db-3.0.2 test/migrations/valid/2_we_need_reminders.rb
ibm_db-3.0.2 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/valid/2_we_need_reminders.rb