v/tutorials/Building a simple web blog .../code/blog/blog.sqlite

18 lines
308 B
Plaintext
Raw Normal View History

2020-07-07 22:01:18 +02:00
drop table if exists Article;
2020-07-04 18:56:18 +02:00
create table Article (
id integer primary key,
title text default "",
text text default ""
);
insert into Article (title, text) values (
"Hello, world!",
"V is great."
);
insert into Article (title, text) values (
"Second post.",
"Hm... what should I write about?"
);