Merge branch '8784-dir-listings'
[arvados.git] / services / api / db / migrate / 20150312151136_change_collection_expires_at_to_datetime.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class ChangeCollectionExpiresAtToDatetime < ActiveRecord::Migration
6   def up
7     change_column :collections, :expires_at, :datetime
8   end
9
10   def down
11     change_column :collections, :expires_at, :date
12   end
13 end