diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-08-31 21:55:12 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-05 12:18:34 +0200 |
commit | e7d0febb81aa0f3aa942523d40b6a78584e71db3 (patch) | |
tree | 86e202484d86f1d8862cb9911b9bae46e37e33a4 /db/post_migrate | |
parent | 55acc66d962d4b120babda84cef1d5ab1a91f59f (diff) | |
download | gitlab-ce-e7d0febb81aa0f3aa942523d40b6a78584e71db3.tar.gz |
remove valid_signature from gpg_signatures
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20170831195038_remove_valid_signature_from_gpg_signatures.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/post_migrate/20170831195038_remove_valid_signature_from_gpg_signatures.rb b/db/post_migrate/20170831195038_remove_valid_signature_from_gpg_signatures.rb new file mode 100644 index 00000000000..9b6745e33d9 --- /dev/null +++ b/db/post_migrate/20170831195038_remove_valid_signature_from_gpg_signatures.rb @@ -0,0 +1,11 @@ +class RemoveValidSignatureFromGpgSignatures < ActiveRecord::Migration + DOWNTIME = false + + def up + remove_column :gpg_signatures, :valid_signature + end + + def down + add_column :gpg_signatures, :valid_signature, :boolean + end +end |