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:
authorSteven Thonus <steven@ln2.nl>2014-01-28 01:34:05 +0400
committerSteven Thonus <steven@ln2.nl>2014-01-28 11:38:00 +0400
commit251df827a5308d483a95242970569075ab655703 (patch)
tree00872b5ebaf24ca6c4e964172f59a8380c55d096 /db
parent5221dbfee74e48f379bc06b2848a64243a76270c (diff)
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