mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
add ./v2 to gitignore
This commit is contained in:
22
tutorials/code/blog/blog.sql
Normal file
22
tutorials/code/blog/blog.sql
Normal file
@ -0,0 +1,22 @@
|
||||
create database blog;
|
||||
|
||||
\c blog
|
||||
|
||||
drop table articles;
|
||||
|
||||
create table articles (
|
||||
id serial primary key,
|
||||
title text default '',
|
||||
text text default ''
|
||||
);
|
||||
|
||||
insert into articles (title, text) values (
|
||||
'Hello, world!',
|
||||
'V is great.'
|
||||
);
|
||||
|
||||
insert into articles (title, text) values (
|
||||
'Second post.',
|
||||
'Hm... what should I write about?'
|
||||
);
|
||||
|
Reference in New Issue
Block a user