Commit 90b02139bee00c6be789d2af875800fde25a95ae
1 parent
eec782d0
Exists in
master
and in
22 other branches
update DB schema
(ActionItem2915)
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
db/schema.rb
@@ -194,19 +194,19 @@ ActiveRecord::Schema.define(:version => 20140808185510) do | @@ -194,19 +194,19 @@ ActiveRecord::Schema.define(:version => 20140808185510) do | ||
194 | create_table "categories", :force => true do |t| | 194 | create_table "categories", :force => true do |t| |
195 | t.string "name" | 195 | t.string "name" |
196 | t.string "slug" | 196 | t.string "slug" |
197 | - t.text "path", :default => "" | ||
198 | - t.integer "display_color" | 197 | + t.text "path", :default => "" |
199 | t.integer "environment_id" | 198 | t.integer "environment_id" |
200 | t.integer "parent_id" | 199 | t.integer "parent_id" |
201 | t.string "type" | 200 | t.string "type" |
202 | t.float "lat" | 201 | t.float "lat" |
203 | t.float "lng" | 202 | t.float "lng" |
204 | - t.boolean "display_in_menu", :default => false | ||
205 | - t.integer "children_count", :default => 0 | ||
206 | - t.boolean "accept_products", :default => true | 203 | + t.boolean "display_in_menu", :default => false |
204 | + t.integer "children_count", :default => 0 | ||
205 | + t.boolean "accept_products", :default => true | ||
207 | t.integer "image_id" | 206 | t.integer "image_id" |
208 | t.string "acronym" | 207 | t.string "acronym" |
209 | t.string "abbreviation" | 208 | t.string "abbreviation" |
209 | + t.string "display_color", :limit => 6 | ||
210 | end | 210 | end |
211 | 211 | ||
212 | create_table "categories_profiles", :id => false, :force => true do |t| | 212 | create_table "categories_profiles", :id => false, :force => true do |t| |