fix NOT NULL column with NULL value

pull/6827/head
Tim Felgentreff 14 years ago
parent 6d0e73e893
commit 8290253caf
  1. 2
      db/migrate/20101111150110_adjust_cost_query_layout.rb

@ -4,7 +4,7 @@ class AdjustCostQueryLayout < ActiveRecord::Migration
remove_column :cost_queries, :group_by
remove_column :cost_queries, :granularity
add_column :cost_queries, :yamlized, :string, :null => false
add_column :cost_queries, :yamlized, :string, :null => true
end
def self.down

Loading…
Cancel
Save