Sha256: 3eed5b63eb7f2f41dfbd1d300d2c1eb346ccece58576bb879042afbc0c452c23

Contents?: true

Size: 275 Bytes

Versions: 18

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

class WeNeedReminders < ActiveRecord::Migration::Current
  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

18 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.5.0 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.5.0 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.4.1 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.4.1 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.4.1 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.4.0 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.4.0 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.4.0 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.3.2 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.3.2 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.3.2 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.3.1 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.3.1 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.3.1 test/migrations/valid/2_we_need_reminders.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/missing/3_we_need_reminders.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid/2_we_need_reminders.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb