commented out migration which deletes the ways column nodes
This commit is contained in:
parent
1613799be4
commit
5692b8f341
1 changed files with 5 additions and 4 deletions
|
@ -1,12 +1,13 @@
|
|||
class PopulateNodeTagsAndRemove < ActiveRecord::Migration
|
||||
def self.up
|
||||
#rake import
|
||||
remove_column :nodes, :tags
|
||||
remove_column :current_nodes, :tags
|
||||
#commented out to stop people from breaking their db
|
||||
# remove_column :nodes, :tags
|
||||
# remove_column :current_nodes, :tags
|
||||
end
|
||||
|
||||
def self.down
|
||||
add_column :nodes, "tags", :text, :default => "", :null => false
|
||||
add_column :current_nodes, "tags", :text, :default => "", :null => false
|
||||
# add_column :nodes, "tags", :text, :default => "", :null => false
|
||||
# add_column :current_nodes, "tags", :text, :default => "", :null => false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue