swlancaster db code