expand db definition