lundi 11 janvier 2016

Creating sqlite3 database from .sql file in Windows 8

I'm using this tutorial for learning flask. In the second paragraph it says to use this command:

sqlite3 /tmp/flaskr.db < schema.sql

But I'm using Windows 8. What can I do instead of that command? This is my sql code:

drop table if exists entries;
create table entries (
    id integer primary key autoincrement,
    title text not null,
    text text not null
);

Aucun commentaire:

Enregistrer un commentaire