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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 01:10:27 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 01:10:27 +0300
commit6f714dfb4a9b823ab75508f252d06e19e286d5f2 (patch)
tree409569ad65f1982451d9eb9a5bb0eae078abf01a /db
parent2749e7a58285e59381a3e788983678d9cf633b45 (diff)
Improve code design after code review
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161113184239_create_user_chat_names_table.rb2
-rw-r--r--db/schema.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20161113184239_create_user_chat_names_table.rb b/db/migrate/20161113184239_create_user_chat_names_table.rb
index 1e138fba202..97b597654f7 100644
--- a/db/migrate/20161113184239_create_user_chat_names_table.rb
+++ b/db/migrate/20161113184239_create_user_chat_names_table.rb
@@ -11,7 +11,7 @@ class CreateUserChatNamesTable < ActiveRecord::Migration
t.string :team_domain
t.string :chat_id, null: false
t.string :chat_name
- t.datetime :used_at
+ t.datetime :last_used_at
t.timestamps null: false
end
diff --git a/db/schema.rb b/db/schema.rb
index 3688df3a238..5732b1b73c1 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -159,7 +159,7 @@ ActiveRecord::Schema.define(version: 20161113184239) do
t.string "team_domain"
t.string "chat_id", null: false
t.string "chat_name"
- t.datetime "used_at"
+ t.datetime "last_used_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end