Merge branch '8784-dir-listings'
[arvados.git] / services / api / db / migrate / 20170301225558_no_downgrade_after_json.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class NoDowngradeAfterJson < ActiveRecord::Migration
6   def up
7   end
8
9   def down
10     raise ActiveRecord::IrreversibleMigration.
11       new("cannot downgrade: older versions cannot read JSON from DB tables")
12   end
13 end