aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/10_urban/9_add_expressions.rb
blob: db9fda3e05eff367e8cf51e3b9cfe5f309ce3fd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
class AddExpressions < ActiveRecord::Migration::Current
  def self.up
    create_table("expressions") do |t|
      t.column :expression, :string
    end
  end

  def self.down
    drop_table "expressions"
  end
end