[katello-devel] Testing migrations

David Davis daviddavis at redhat.com
Wed Oct 10 12:06:59 UTC 2012


I always just run "rake db:migrate:redo" so that I don't lose all my data.

David


----- Original Message -----
From: "Lukas Zapletal" <lzap at redhat.com>
To: katello-devel at redhat.com
Sent: Wednesday, October 10, 2012 5:16:27 AM
Subject: [katello-devel] Testing migrations

Hello,

when you are changing/adding a migration, please test it properly:

rake db:migrate
rake db:migrate VERSION=0
rake db:migrate

Often down methods are not working properly.

LZ

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine

_______________________________________________
katello-devel mailing list
katello-devel at redhat.com
https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list