Sha256: 3ff58eb4dfae058d9f64d4adc05ea4c4ae1a572438b3d981adcbc5d3da388a75

Contents?: true

Size: 289 Bytes

Versions: 12

Compression:

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

12 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.5.0-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.5.0-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/missing/3_we_need_reminders.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid_with_subdirectories/sub/2_we_need_reminders.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid/2_we_need_reminders.rb