-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovies_db.sql
68 lines (54 loc) · 2.42 KB
/
movies_db.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
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
-- phpMyAdmin SQL Dump
-- version 4.9.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: Mar 29, 2021 at 02:41 PM
-- Server version: 5.7.30
-- PHP Version: 7.4.9
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 utf8mb4 */;
--
-- Database: `expressjs`
--
-- --------------------------------------------------------
--
-- Table structure for table `movies`
--
CREATE TABLE `movies` (
`id` int(11) NOT NULL,
`title` varchar(999) NOT NULL,
`poster` varchar(999) NOT NULL,
`year` int(11) NOT NULL,
`description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `movies`
--
INSERT INTO `movies` (`id`, `title`, `poster`, `year`, `description`) VALUES
(1, 'Deadpooll', 'https://lumiere-a.akamaihd.net/v1/images/image_8c4aa72b.jpeg', 2018, 'Deadpool is a 2016 American superhero film based on the Marvel Comics character of the same name. Distributed by 20th Century Fox, it is the eighth film in the X-Men film series.'),
(3, 'Big trouble in Little China', 'https://upload.wikimedia.org/wikipedia/en/7/76/Big_Trouble_in_Little_China_Film_Poster.jpg', 1986, 'Big Trouble in Little China (also known as John Carpenter\'s Big Trouble in Little China) is a 1986 American fantasy martial arts comedy film directed by John Carpenter and starring Kurt Russell, Kim Cattrall, Dennis Dun and James Hong.'),
(5, 'Scarface', 'https://upload.wikimedia.org/wikipedia/en/7/71/Scarface_-_1983_film.jpg', 1983, 'Scarface is a 1983 American crime drama film directed by Brian De Palma and written by Oliver Stone. A remake of the 1932 film of the same name, it tells the story of Cuban refugee Tony Montana, who arrives penniless in 1980s Miami but would go on to become a powerful drug lord.');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `movies`
--
ALTER TABLE `movies`
ADD UNIQUE KEY `id` (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `movies`
--
ALTER TABLE `movies`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
/*!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 */;