diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 09:07:23 +0300 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 09:07:23 +0300 |
commit | d95fd3cb9927d41b33e6991377ec060f2a12f4d5 (patch) | |
tree | a4c8810ac5083afa4dfcec7a5098c91f186f3757 /db/migrate/20160801163421_add_expires_at_to_member.rb | |
parent | 419990ebd2a9f4781d625b1f234be04271c36ac6 (diff) |
Use Date instead of Datetime. Nobody cares about the exact hour.
Diffstat (limited to 'db/migrate/20160801163421_add_expires_at_to_member.rb')
-rw-r--r-- | db/migrate/20160801163421_add_expires_at_to_member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160801163421_add_expires_at_to_member.rb b/db/migrate/20160801163421_add_expires_at_to_member.rb index 9cd37da6818..8db0fc60c4b 100644 --- a/db/migrate/20160801163421_add_expires_at_to_member.rb +++ b/db/migrate/20160801163421_add_expires_at_to_member.rb @@ -24,6 +24,6 @@ class AddExpiresAtToMember < ActiveRecord::Migration # disable_ddl_transaction! def change - add_column :members, :expires_at, :datetime + add_column :members, :expires_at, :date end end |