-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDatabase.sql
40 lines (34 loc) · 1.87 KB
/
Database.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-- --------------------------------------------------------
-- Sunucu: 127.0.0.1
-- Sunucu sürümü: 10.4.19-MariaDB - mariadb.org binary distribution
-- Sunucu İşletim Sistemi: Win64
-- HeidiSQL Sürüm: 11.2.0.6289
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- pdocrud için veritabanı yapısı dökülüyor
CREATE DATABASE IF NOT EXISTS `pdocrud` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `pdocrud`;
-- tablo yapısı dökülüyor pdocrud.article
CREATE TABLE IF NOT EXISTS `article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) DEFAULT NULL,
`content` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- pdocrud.article: ~4 rows (yaklaşık) tablosu için veriler indiriliyor
/*!40000 ALTER TABLE `article` DISABLE KEYS */;
INSERT INTO `article` (`id`, `title`, `content`) VALUES
(1, 'What is Lorem Ipsum?', 'Lorem Ipsum is simply dummy text of the printing a'),
(2, 'Where does it come from?', 'Contrary to popular belief, Lorem Ipsum is not sim'),
(3, 'Why do we use it?', 'It is a long established fact that a reader will b'),
(4, 'Where can I get some?', 'There are many variations of passages of Lorem Ips');
/*!40000 ALTER TABLE `article` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;