set db to mem
models for stock