[Git][noosfero/noosfero][master] update database schema file

Leandro Nunes gitlab at mg.gitlab.com
Wed Dec 7 15:47:05 BRST 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
902cc6a1 by Leandro Nunes dos Santos at 2016-12-07T14:46:44-03:00
update database schema file

- - - - -


1 changed file:

- db/schema.rb


Changes:

=====================================
db/schema.rb
=====================================
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended that you check this file into your version control system.
 
-ActiveRecord::Schema.define(version: 20160809123835) do
+ActiveRecord::Schema.define(version: 20161201191313) do
 
   # These are extensions that must be enabled in order to support this database
   enable_extension "plpgsql"
@@ -454,8 +454,11 @@ ActiveRecord::Schema.define(version: 20160809123835) do
     t.integer "height"
     t.boolean "thumbnails_processed", default: false
     t.string  "label",                default: ""
+    t.integer "owner_id"
+    t.string  "owner_type"
   end
 
+  add_index "images", ["owner_type", "owner_id"], name: "index_images_on_owner_type_and_owner_id", using: :btree
   add_index "images", ["parent_id"], name: "index_images_on_parent_id", using: :btree
 
   create_table "inputs", force: :cascade do |t|



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/902cc6a1ff42746b2c04216c712333a69f10c3fc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20161207/3e77c267/attachment-0001.html>


More information about the Noosfero-dev mailing list