move sqlite contraints option into db initializer so can turn on or off easier