Commit d95fd3cb authored by Adam Niedzielski's avatar Adam Niedzielski

Use Date instead of Datetime. Nobody cares about the exact hour.

parent 419990eb
...@@ -24,6 +24,6 @@ class AddExpiresAtToMember < ActiveRecord::Migration ...@@ -24,6 +24,6 @@ class AddExpiresAtToMember < ActiveRecord::Migration
# disable_ddl_transaction! # disable_ddl_transaction!
def change def change
add_column :members, :expires_at, :datetime add_column :members, :expires_at, :date
end end
end end
...@@ -581,7 +581,7 @@ ActiveRecord::Schema.define(version: 20160801163421) do ...@@ -581,7 +581,7 @@ ActiveRecord::Schema.define(version: 20160801163421) do
t.string "invite_token" t.string "invite_token"
t.datetime "invite_accepted_at" t.datetime "invite_accepted_at"
t.datetime "requested_at" t.datetime "requested_at"
t.datetime "expires_at" t.date "expires_at"
end end
add_index "members", ["access_level"], name: "index_members_on_access_level", using: :btree add_index "members", ["access_level"], name: "index_members_on_access_level", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment