First commit 31/12/2001

This commit is contained in:
2021-09-12 22:53:35 +02:00
commit ec29dd1409
56 changed files with 2883 additions and 0 deletions

58
sql/cr_pelis_tbl.sql Normal file
View File

@ -0,0 +1,58 @@
# drop the "pelis" table if it exists, then recreate it
DROP TABLE IF EXISTS pelis;
CREATE TABLE pelis
(
# /********************\
#|* Datos B<>sicos *|
# \********************/
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
owner SMALLINT,
Genero ENUM( "SIN CLASIFICAR",
"Acci<EFBFBD>n",
"Animaci<EFBFBD>n",
"Aventuras",
"B<EFBFBD>lica",
"Biograf<EFBFBD>a",
"Cat<EFBFBD>strofe",
"C.Ficci<63>n",
"Fant<EFBFBD>stico",
"Cine Negro",
"Comedia",
"Dib.Animado",
"Documental",
"Drama",
"Hist<EFBFBD>rica",
"Intriga",
"Musical",
"Melodrama",
"Oeste",
"Terror",
"Picantes"
) DEFAULT "SIN CLASIFICAR",
Status ENUM( "OK",
"Para Alquilar",
"Ripeando",
"Por llegar"
),
Titulo VARCHAR(30) NOT NULL,
FechaRip DATE,
Duracion TIME,
NumCDs SMALLINT DEFAULT '1',
Comentarios TEXT,
Imagen BLOB,
filetype VARCHAR(50),
imgH SMALLINT,
imgW SMALLINT,
# /************************\
#|* CLAVES PK, SK *|
# \************************/
PRIMARY KEY (id),
);
# Cargamos otros datos suministrados por defecto...
# LOAD DATA LOCAL INFILE "pelis.txt" INTO TABLE personas;