-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathiarecoding_sql_dump.sql
More file actions
89 lines (71 loc) · 2.58 KB
/
iarecoding_sql_dump.sql
File metadata and controls
89 lines (71 loc) · 2.58 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jan 06, 2023 at 06:37 PM
-- Server version: 5.7.24
-- PHP Version: 7.3.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `iarecoding`
--
-- --------------------------------------------------------
--
-- Table structure for table `sessions`
--
DROP TABLE IF EXISTS `sessions`;
CREATE TABLE IF NOT EXISTS `sessions` (
`id` varchar(50) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) NOT NULL,
`user_id` int(11) NOT NULL,
`data` blob,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `templates`
--
DROP TABLE IF EXISTS `templates`;
CREATE TABLE IF NOT EXISTS `templates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`subtitle` varchar(100) NOT NULL,
`description` varchar(1000) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `templates`
--
INSERT INTO `templates` (`id`, `title`, `subtitle`, `description`) VALUES
(1, 'iarecoding DB', 'a simple PHP MVC framework. DB', 'Learn to code this MVC (Model-View-Controller) framework from scratch! The YouTube/GitHub links below will walk you through the process of coding the iarecoding framework so you learn and have a better understanding of how frameworks work :D DB');
-- --------------------------------------------------------
--
-- Table structure for table `template_links`
--
DROP TABLE IF EXISTS `template_links`;
CREATE TABLE IF NOT EXISTS `template_links` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL,
`url` varchar(500) NOT NULL,
`template_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `template_links`
--
INSERT INTO `template_links` (`id`, `title`, `url`, `template_id`) VALUES
(1, 'YouTube DB', 'https://youtube.com/justinstolpe', 1),
(2, 'GitHub DB', 'https://github.com/jstolpe/iarecoding', 1);
COMMIT;
/*!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 */;