| author | Gautier Thibault <gthibault@universcine.com> |
| Wed, 23 Sep 2009 10:30:03 +0200 | |
| changeset 4 | 40d33a1d221d |
| permissions | -rwxr-xr-x |
|
4
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
1 |
-- phpMyAdmin SQL Dump |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
2 |
-- version 3.2.1 |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
3 |
-- http://www.phpmyadmin.net |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
4 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
5 |
-- Serveur: localhost |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
6 |
-- Généré le : Lun 21 Septembre 2009 à 17:09 |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
7 |
-- Version du serveur: 5.1.32 |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
8 |
-- Version de PHP: 5.2.9 |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
9 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
10 |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
11 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
12 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
13 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
14 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
15 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
16 |
/*!40101 SET NAMES utf8 */; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
17 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
18 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
19 |
-- Base de données: `thd` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
20 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
21 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
22 |
-- -------------------------------------------------------- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
23 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
24 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
25 |
-- Structure de la table `thd_film` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
26 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
27 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
28 |
CREATE TABLE IF NOT EXISTS `thd_film` ( |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
29 |
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
30 |
`ref` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
31 |
`title` varchar(255) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
32 |
`pitch` text NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
33 |
`duration` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
34 |
`directors` text NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
35 |
`actors` text NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
36 |
`country` text, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
37 |
`slug_url` varchar(255) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
38 |
`original_title` varchar(255) DEFAULT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
39 |
`production_year` bigint(20) DEFAULT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
40 |
PRIMARY KEY (`id`), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
41 |
KEY `ref_idx` (`ref`) |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
42 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
43 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
44 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
45 |
-- Contenu de la table `thd_film` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
46 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
47 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
48 |
INSERT INTO `thd_film` (`id`, `ref`, `title`, `pitch`, `duration`, `directors`, `actors`, `country`, `slug_url`, `original_title`, `production_year`) VALUES |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
49 |
(1, 29001, '17, rue Bleue', '1967 : cinq ans après sa fuite d''Algérie, Adda vit à Paris, avec ses deux enfants et ses deux soeurs. Elle vit une aventure amoureuse avec son patron, mais ce sont les fantômes du passé qui sont les plus forts...', 95, '{"name":"Chad Chenouga"}', '{"name":"Abdel Halis","name":"Lysiane Meis"}', '{"label":"France"}', '17-rue-bleue', NULL, 2000), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
50 |
(2, 25001, 'A travers la forêt', 'Armelle n''arrive pas à oublier Renaud. Elle le voit, elle chante pour lui, elle l''étreint. Elle lui parle toujours. Pourtant, Renaud est mort... Mais pas pour elle. C''est un accident de moto ; Armelle n''arrive pas à l''oublier et croit que son amant continue à vivre auprès d''elle. Et puis elle rencontre Hippolyte, qui ressemble trait pour trait à Renaud.', 65, '{"name":"Jean-Paul Civeyrac"}', '{"name":"Camille Berthomier","name":"Aurélien Wiik"}', '{"label":"France"}', 'a-travers-la-foret', NULL, 2004), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
51 |
(3, 13002, 'Après lui', 'Camille voit sa vie brisée par la disparition de son fils dans un accident de la route. Incapable de faire le deuil, elle s''attache à Franck, le meilleur ami de celui-ci, qui est aussi le responsable du drame. Qu''importe le scandale, Franck devient l''objet consentant de son affection. Mais, peu à peu, il va prendre conscience que l''obsession de Camille le met en danger.', 93, '{"name":"Gaël Morel"}\r\n', '{"name":"Elodie Bouchez","name":"Catherine Deneuve","name":"Thomas Dumerchez","name":"Guy Marchand"}', '{"label":"France"}', 'apres-lui', NULL, 2006), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
52 |
(4, 39031, 'Buenos Aires 100 km', 'A 100 km de Buenos Aires, un village comme tant d''autres, où le temps semble suspendu. Cinq amis de toujours y passent l''été de leurs 13 ans. Ils observent, rêvent, discutent, questionnent. C''est aussi l''été des premières fois : l''amour, le sexe, les cigarettes... Les secrets du village sont leurs principales préoccupations, en même temps que l''envie d''en partir.', 93, '{"name":"Pablo José Meza"}', '{"name":"Emiliano Fernández","name":"Juan Ignacio Perez Roca"}\r\n', '{"label":"Argentine","label":"France","label":"Espagne"}', 'buenos-aires-100-km', 'Buenos Aires 100 kilómetros', 2004); |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
53 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
54 |
-- -------------------------------------------------------- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
55 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
56 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
57 |
-- Structure de la table `thd_image` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
58 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
59 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
60 |
CREATE TABLE IF NOT EXISTS `thd_image` ( |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
61 |
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
62 |
`film_ref` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
63 |
`type` tinyint(4) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
64 |
`file` varchar(255) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
65 |
PRIMARY KEY (`id`), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
66 |
KEY `film_ref_idx` (`film_ref`) |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
67 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
68 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
69 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
70 |
-- Contenu de la table `thd_image` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
71 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
72 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
73 |
INSERT INTO `thd_image` (`id`, `film_ref`, `type`, `file`) VALUES |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
74 |
(1, 39031, 1, '1482b3f8-7c56-11de-94a8-99b39278c804'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
75 |
(2, 13002, 1, '2b95e3dc-7c56-11de-b8e9-8d849c1c2c06'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
76 |
(3, 25001, 1, '0625c797-7c56-11de-bfb5-5b02eae1fc54'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
77 |
(4, 29001, 1, '0c45e138-7c56-11de-a235-375dca301e99'); |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
78 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
79 |
-- -------------------------------------------------------- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
80 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
81 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
82 |
-- Structure de la table `thd_segment` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
83 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
84 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
85 |
CREATE TABLE IF NOT EXISTS `thd_segment` ( |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
86 |
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
87 |
`title` varchar(255) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
88 |
`video_ref` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
89 |
`start` double NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
90 |
`end` double NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
91 |
`user_id` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
92 |
`creation_date` datetime NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
93 |
PRIMARY KEY (`id`), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
94 |
KEY `video_ref_idx` (`video_ref`) |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
95 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
96 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
97 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
98 |
-- Contenu de la table `thd_segment` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
99 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
100 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
101 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
102 |
-- -------------------------------------------------------- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
103 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
104 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
105 |
-- Structure de la table `thd_video` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
106 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
107 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
108 |
CREATE TABLE IF NOT EXISTS `thd_video` ( |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
109 |
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
110 |
`ref` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
111 |
`film_ref` int(11) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
112 |
`file` varchar(255) NOT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
113 |
`title` varchar(255) DEFAULT NULL, |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
114 |
PRIMARY KEY (`id`), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
115 |
KEY `ref_idx` (`ref`), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
116 |
KEY `film_ref_idx` (`film_ref`) |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
117 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
118 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
119 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
120 |
-- Contenu de la table `thd_video` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
121 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
122 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
123 |
INSERT INTO `thd_video` (`id`, `ref`, `film_ref`, `file`, `title`) VALUES |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
124 |
(1, 29001, 29001, '029001_17-rue-bleue', 'Trailer 17 rue bleue'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
125 |
(2, 25001, 25001, '025001_a-travers-la-foret', 'Trailer à travers la forêt'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
126 |
(3, 39031, 39031, '039031_buenos-aires-100-km', 'Trailer Buenos Aires 100km'), |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
127 |
(4, 13002, 13002, '013002_apres-lui', 'Trailer Après lui'); |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
128 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
129 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
130 |
-- Contraintes pour les tables exportées |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
131 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
132 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
133 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
134 |
-- Contraintes pour la table `thd_image` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
135 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
136 |
ALTER TABLE `thd_image` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
137 |
ADD CONSTRAINT `thd_image_ibfk_1` FOREIGN KEY (`film_ref`) REFERENCES `thd_film` (`ref`); |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
138 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
139 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
140 |
-- Contraintes pour la table `thd_segment` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
141 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
142 |
ALTER TABLE `thd_segment` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
143 |
ADD CONSTRAINT `thd_segment_ibfk_1` FOREIGN KEY (`video_ref`) REFERENCES `thd_video` (`ref`); |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
144 |
|
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
145 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
146 |
-- Contraintes pour la table `thd_video` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
147 |
-- |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
148 |
ALTER TABLE `thd_video` |
|
40d33a1d221d
Commit the db test
Gautier Thibault <gthibault@universcine.com>
parents:
diff
changeset
|
149 |
ADD CONSTRAINT `thd_video_ibfk_1` FOREIGN KEY (`film_ref`) REFERENCES `thd_film` (`ref`); |