Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-28 12:26:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-28 12:26:18 +0400
commita184fcf368686f8224315c8afa6e5ec923e37c4b (patch)
treea76232580fb7777de8aba2611bb48a909db42479 /db
parentb6454591ccaeced4c57562167be903308102a25d (diff)
parent251df827a5308d483a95242970569075ab655703 (diff)
Merge pull request #6178 from Popl7/add_group_avatars
added group avatars
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140127170938_add_group_avatars.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140127170938_add_group_avatars.rb b/db/migrate/20140127170938_add_group_avatars.rb
new file mode 100644
index 00000000000..2911096dd5d
--- /dev/null
+++ b/db/migrate/20140127170938_add_group_avatars.rb
@@ -0,0 +1,5 @@
+class AddGroupAvatars < ActiveRecord::Migration
+ def change
+ add_column :namespaces, :avatar, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 75a44d9aa04..acbb793bbe8 100644
--- 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: 20140122122549) do
+ActiveRecord::Schema.define(version: 20140127170938) do
create_table "broadcast_messages", force: true do |t|
t.text "message", null: false
@@ -152,6 +152,7 @@ ActiveRecord::Schema.define(version: 20140122122549) do
t.datetime "updated_at", null: false
t.string "type"
t.string "description", default: "", null: false
+ t.string "avatar"
end
add_index "namespaces", ["name"], name: "index_namespaces_on_name", using: :btree