Sha256: e052ad8b9ee27fe417af68ca0a91a02177ccd4021a61c97a13a9c829767cb33e

Contents?: true

Size: 179 Bytes

Versions: 9

Compression:

Stored size: 179 Bytes

Contents

class AddColumnNamesToTable < ActiveRecord::Migration
  def up
    add_column :tables, :column_names, :text
  end
  
  def down
    remove_column :tables, :column_names
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
daily-0.0.10 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.9 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.8 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.7 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.6 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.5 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.4 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.3 db/migrate/20111127065357_add_column_names_to_table.rb
daily-0.0.2 db/migrate/20111127065357_add_column_names_to_table.rb