Updated sqlite3 table creation