Well then you need to store the code in the database as well.