aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/rename/1_we_need_things.rb
blob: 411d6f9646da76f7a17866fa9828c5426c9c3037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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