Simplify Line model (mig:0004) && Add test_db reset script