diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 01:10:27 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 01:10:27 +0300 |
commit | 6f714dfb4a9b823ab75508f252d06e19e286d5f2 (patch) | |
tree | 409569ad65f1982451d9eb9a5bb0eae078abf01a /db | |
parent | 2749e7a58285e59381a3e788983678d9cf633b45 (diff) |
Improve code design after code review
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20161113184239_create_user_chat_names_table.rb | 2 | ||||
-rw-r--r-- | db/schema.rb | 2 |
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 |