Sha256: 677c9fee45bb399d45745f45c63c3570976b5f968898c8cb443348c072b5f1b5

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

class ValidWithTimestampsWeNeedReminders < 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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb