add -w
ignore .sql
fix nextid table creation