Commit 3c813a4eef699b187ff9252309443e59808320a6
1 parent
80d971f1
Exists in
master
and in
29 other branches
ActionItem147: Article could not accept comments
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2436 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
db/schema.rb
@@ -9,14 +9,14 @@ | @@ -9,14 +9,14 @@ | ||
9 | # | 9 | # |
10 | # It's strongly recommended to check this file into your version control system. | 10 | # It's strongly recommended to check this file into your version control system. |
11 | 11 | ||
12 | -ActiveRecord::Schema.define(:version => 51) do | 12 | +ActiveRecord::Schema.define(:version => 52) do |
13 | 13 | ||
14 | create_table "article_versions", :force => true do |t| | 14 | create_table "article_versions", :force => true do |t| |
15 | t.integer "article_id" | 15 | t.integer "article_id" |
16 | t.integer "version" | 16 | t.integer "version" |
17 | t.string "name" | 17 | t.string "name" |
18 | t.string "slug" | 18 | t.string "slug" |
19 | - t.text "path", :default => "" | 19 | + t.text "path" |
20 | t.integer "parent_id" | 20 | t.integer "parent_id" |
21 | t.text "body" | 21 | t.text "body" |
22 | t.text "abstract" | 22 | t.text "abstract" |
@@ -37,12 +37,13 @@ ActiveRecord::Schema.define(:version => 51) do | @@ -37,12 +37,13 @@ ActiveRecord::Schema.define(:version => 51) do | ||
37 | t.date "end_date" | 37 | t.date "end_date" |
38 | t.integer "children_count", :default => 0 | 38 | t.integer "children_count", :default => 0 |
39 | t.boolean "public_article", :default => true | 39 | t.boolean "public_article", :default => true |
40 | + t.boolean "accept_comments", :default => true | ||
40 | end | 41 | end |
41 | 42 | ||
42 | create_table "articles", :force => true do |t| | 43 | create_table "articles", :force => true do |t| |
43 | t.string "name" | 44 | t.string "name" |
44 | t.string "slug" | 45 | t.string "slug" |
45 | - t.text "path", :default => "" | 46 | + t.text "path" |
46 | t.integer "parent_id" | 47 | t.integer "parent_id" |
47 | t.text "body" | 48 | t.text "body" |
48 | t.text "abstract" | 49 | t.text "abstract" |
@@ -65,6 +66,7 @@ ActiveRecord::Schema.define(:version => 51) do | @@ -65,6 +66,7 @@ ActiveRecord::Schema.define(:version => 51) do | ||
65 | t.date "end_date" | 66 | t.date "end_date" |
66 | t.integer "children_count", :default => 0 | 67 | t.integer "children_count", :default => 0 |
67 | t.boolean "public_article", :default => true | 68 | t.boolean "public_article", :default => true |
69 | + t.boolean "accept_comments", :default => true | ||
68 | end | 70 | end |
69 | 71 | ||
70 | create_table "articles_categories", :id => false, :force => true do |t| | 72 | create_table "articles_categories", :id => false, :force => true do |t| |
@@ -97,7 +99,7 @@ ActiveRecord::Schema.define(:version => 51) do | @@ -97,7 +99,7 @@ ActiveRecord::Schema.define(:version => 51) do | ||
97 | create_table "categories", :force => true do |t| | 99 | create_table "categories", :force => true do |t| |
98 | t.string "name" | 100 | t.string "name" |
99 | t.string "slug" | 101 | t.string "slug" |
100 | - t.text "path", :default => "" | 102 | + t.text "path" |
101 | t.integer "display_color" | 103 | t.integer "display_color" |
102 | t.integer "environment_id" | 104 | t.integer "environment_id" |
103 | t.integer "parent_id" | 105 | t.integer "parent_id" |
@@ -189,7 +191,7 @@ ActiveRecord::Schema.define(:version => 51) do | @@ -189,7 +191,7 @@ ActiveRecord::Schema.define(:version => 51) do | ||
189 | t.integer "enterprise_id" | 191 | t.integer "enterprise_id" |
190 | t.integer "product_category_id" | 192 | t.integer "product_category_id" |
191 | t.string "name" | 193 | t.string "name" |
192 | - t.decimal "price" | 194 | + t.integer "price", :limit => 10, :precision => 10, :scale => 0 |
193 | t.text "description" | 195 | t.text "description" |
194 | t.string "image" | 196 | t.string "image" |
195 | t.datetime "created_at" | 197 | t.datetime "created_at" |