Class: AddFulltagged

Inherits:
Sequel::Migration
  • Object
show all
Defined in:
lib/lumix/schema/003_add_fulltagged.rb

Instance Method Summary collapse

Instance Method Details

#downObject



9
10
11
12
13
# File 'lib/lumix/schema/003_add_fulltagged.rb', line 9

def down
  alter_table :texts do
    drop_column :fulltagged
  end
end

#upObject



3
4
5
6
7
# File 'lib/lumix/schema/003_add_fulltagged.rb', line 3

def up
  alter_table :texts do
    add_column :fulltagged, String
  end
end