faltysad / nette_latte

Lesson of latte, latte showcase & explanation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@faltysad

Initialize db

Create posts table

CREATE TABLE posts ( id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, title varchar(255) NOT NULL, content text NOT NULL, created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB CHARSET=utf8;

Insert posts

INSERT INTO posts (id, title, content, created_at) VALUES (1, 'Article One', 'Lorem ipusm dolor one', CURRENT_TIMESTAMP), (2, 'Article Two', 'Lorem ipsum dolor two', CURRENT_TIMESTAMP), (3, 'Article Three', 'Lorem ipsum dolor three', CURRENT_TIMESTAMP);

About

Lesson of latte, latte showcase & explanation

License:MIT License


Languages

Language:JavaScript 47.5%Language:CSS 35.3%Language:HTML 16.6%Language:PHP 0.6%