Commit 37d34f0c0ef22f7d497b5d348fbbe61d9160ba3f
1 parent
76032e0e
Exists in
master
and in
29 other branches
ActionItem677: fixed
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/branches/0.11.x@2508 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
12 additions
and
3 deletions
Show diff stats
db/migrate/055_change_column_roles_permissons_to_text.rb
0 → 100644
db/schema.rb
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
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 => 54) do | 12 | +ActiveRecord::Schema.define(:version => 55) 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" |
@@ -246,9 +246,9 @@ ActiveRecord::Schema.define(:version => 54) do | @@ -246,9 +246,9 @@ ActiveRecord::Schema.define(:version => 54) do | ||
246 | 246 | ||
247 | create_table "roles", :force => true do |t| | 247 | create_table "roles", :force => true do |t| |
248 | t.string "name" | 248 | t.string "name" |
249 | - t.string "permissions" | 249 | + t.text "permissions", :limit => 255 |
250 | t.string "key" | 250 | t.string "key" |
251 | - t.boolean "system", :default => false | 251 | + t.boolean "system", :default => false |
252 | end | 252 | end |
253 | 253 | ||
254 | create_table "taggings", :force => true do |t| | 254 | create_table "taggings", :force => true do |t| |