Should promote database before code