Sha256: 232f30cdc446ec2e3e1cd17a049ec5ec1e0aaed35179a8ae229f64e0cababeee

Contents?: true

Size: 229 Bytes

Versions: 6

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

class WeNeedThings < ActiveRecord::Migration::Current
  def self.up
    create_table("things") do |t|
      t.column :content, :text
    end
  end

  def self.down
    drop_table "things"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/rename/1_we_need_things.rb
ibm_db-5.4.1 test/migrations/rename/1_we_need_things.rb
ibm_db-5.4.0 test/migrations/rename/1_we_need_things.rb
ibm_db-5.3.2 test/migrations/rename/1_we_need_things.rb
ibm_db-5.3.1 test/migrations/rename/1_we_need_things.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/rename/1_we_need_things.rb