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