Skip to content
Permalink
Browse files

lesson6 sql

  • Loading branch information...
vaajnur committed Mar 6, 2017
1 parent 242e73b commit a6c554e61da63ffbc92f3c621be567cf5855027f
Showing with 52 additions and 35 deletions.
  1. +41 −0 articles___(20-37-36_06-03-2017)__rand945344.sql
  2. +0 −35 articles___rand2748742.sql
  3. +11 −0 log/lesson1.dev-access.log
@@ -0,0 +1,41 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `articles`
--




CREATE TABLE `category_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category_id` int(11) DEFAULT NULL,
`article_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `article_id` (`article_id`),
KEY `category_id` (`category_id`),
CONSTRAINT `category_article_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION,
CONSTRAINT `category_article_ibfk_2` FOREIGN KEY (`article_id`) REFERENCES `article` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=1170;


INSERT INTO category_article VALUES
("2","2","3"),
("9","2","10"),
("10","6","10"),
("13","2","9"),
("14","3","9"),
("15","6","9");




/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

This file was deleted.

Oops, something went wrong.
@@ -1615,3 +1615,14 @@
127.0.0.1 - - [06/Mar/2017:22:28:26 +0300] "GET /js/confirm-bootstrap.js HTTP/1.1" 200 1731 "http://lesson1.dev/admin/articles" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:28:26 +0300] "GET /js/app.js?v=2 HTTP/1.1" 200 579 "http://lesson1.dev/admin/articles" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:28:26 +0300] "GET /images/00907_whitesandsnm_2560x1600.jpg HTTP/1.1" 200 326797 "http://lesson1.dev/admin/articles" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /admin/articles/add HTTP/1.1" 200 3723 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /css/bootstrap.min.css HTTP/1.1" 200 16994 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /css/jquery-ui.min.css HTTP/1.1" 200 3872 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /css/font-awesome.min.css HTTP/1.1" 200 510 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /css/AdminLTE.css HTTP/1.1" 200 14016 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /js/jquery-ui.min.js HTTP/1.1" 200 21454 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /js/jquery-1.8.2.min.js HTTP/1.1" 200 33754 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /js/bootstrap.min.js HTTP/1.1" 200 7634 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:21 +0300] "GET /js/confirm-bootstrap.js HTTP/1.1" 200 1731 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:22 +0300] "GET /js/app.js?v=2 HTTP/1.1" 200 579 "http://lesson1.dev/admin/articles/add" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"
127.0.0.1 - - [06/Mar/2017:22:32:22 +0300] "GET /fonts/glyphicons-halflings-regular.woff HTTP/1.1" 200 23591 "http://lesson1.dev/css/bootstrap.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0"

0 comments on commit a6c554e

Please sign in to comment.
You can’t perform that action at this time.