1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/tutorials/code/blog/blog.sqlite

18 lines
308 B
Plaintext
Raw Normal View History

2020-07-07 23:01:18 +03:00
drop table if exists Article;
2020-07-04 19:56:18 +03: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?"
);