First commit 31/12/2001
This commit is contained in:
20
sql/cr_pelis_users_tbl.sql
Normal file
20
sql/cr_pelis_users_tbl.sql
Normal file
@ -0,0 +1,20 @@
|
||||
# drop the "pelis_user" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS pelis_user;
|
||||
|
||||
CREATE TABLE pelis_user
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos B<>sicos *|
|
||||
# \********************/
|
||||
user SMALLINT UNSIGNED NOT NULL REFERENCES users,
|
||||
peli SMALLINT UNSIGNED NOT NULL REFERENCES pelis,
|
||||
status ENUM( "OK", "PEDIR" ) DEFAULT "OK"
|
||||
|
||||
PRIMARY KEY (user, peli)
|
||||
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis_user.txt" INTO TABLE personas;
|
||||
|
Reference in New Issue
Block a user