DB schema DDL draft added

problems with draft:
-) edit password column (in case of errors)
-) use SQLite syntax for autoincrement
-) use SQLite syntax for indexes