foreman-rake console
> User.current = User.first
> id = '4028bc7e5247169401524daad8280128'
> key = Katello::ActivationKey.where(:cp_id => id).first
> Katello::PoolActivationKey.where(:activation_key_id => key.id).destroy_all
> key.destroy!
Last active
January 27, 2016 16:16
-
-
Save jlsherrill/323d4a47753b62a623f1 to your computer and use it in GitHub Desktop.
fix activation key misisng from candlepin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment