aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/rename/1_we_need_things.rb
blob: 8e71a1d996d773ca78123bf1e7fed090582cfbe7 (plain) (tree)
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