First commit 31/12/2001
This commit is contained in:
27
sql/cr_news_tbl.sql
Normal file
27
sql/cr_news_tbl.sql
Normal file
@ -0,0 +1,27 @@
|
||||
# drop the "pelis" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS news;
|
||||
|
||||
CREATE TABLE news
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos B<>sicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
owner SMALLINT,
|
||||
Apodo VARCHAR(15),
|
||||
fecha DATE,
|
||||
hora TIME,
|
||||
Asunto VARCHAR(40),
|
||||
Comentario TEXT,
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis.txt" INTO TABLE personas;
|
||||
|
Reference in New Issue
Block a user