fix syntax error
create database
add db upgrade scrip
create db downgrade script