You are on page 1of 22

Field * Type * Collation Null * Key * Default Extra *

int(11) auto_incre
id unsigned NO PRI ment

varchar(25 utf8_gene
titol 5) ral_ci YES MUL

utf8_gene
descripcio longtext ral_ci YES MUL

varchar(25 utf8_gene
url_relativa 5) ral_ci YES

varchar(25 utf8_gene
url_relativa_thumb 5) ral_ci YES

utf8_gene
user_thumb char(1) ral_ci YES

varchar(25 utf8_gene
url_download 5) ral_ci YES

double(11,
valoracio 1) YES 0.0

views int(11) YES

vots int(11) YES

varchar(50 utf8_gene
duracio ) ral_ci YES

enum('N',' utf8_gene
es_local Y') ral_ci YES N

utf8_gene
estat char(1) ral_ci YES
user_id int(11) YES

varchar(25 utf8_gene
username ) ral_ci YES MUL

varchar(25 utf8_gene
tags 5) ral_ci YES MUL

creation_date datetime YES

update_date datetime YES

varchar(25 utf8_gene
tipus 5) ral_ci YES

int(11)
comentaris unsigned YES

varchar(25 utf8_gene
filename 5) ral_ci YES

varchar(25 utf8_gene
streaming_base_url 5) ral_ci YES

utf8_gene
streaming_customer varchar(5) ral_ci YES

streaming_sync_date datetime YES

varchar(25 utf8_gene
streaming_base_url_mi 5) ral_ci YES

varchar(25 utf8_gene
external_id 5) ral_ci YES
varchar(25 utf8_gene
pretty_url 5) ral_ci YES

varchar(30 utf8_gene
language ) ral_ci YES

system_id int(11) YES

category int(11) YES MUL

varchar(50 utf8_gene
other_category ) ral_ci YES

decimal(2
latitude 5,20) YES

decimal(2
longitude 5,20) YES

utf8_gene
home_selected char(1) ral_ci YES MUL

utf8_gene
category_selected varchar(2) ral_ci YES

category_selected_date datetime YES

utf8_gene
main char(1) ral_ci YES MUL
user_selected int(11) YES 0

upload_process_id int(11) YES

utf8_gene
upload_to_streaming char(1) ral_ci YES

admin_delete_date datetime YES

user_delete_date datetime YES

purge_date datetime YES

varchar(45 utf8_gene
streaming2_base_url ) ral_ci YES

varchar(25 utf8_gene
video_type 5) ral_ci YES

aws tinyint(1) YES

utf8_gene
ads char(1) ral_ci YES Y
Privileges Comment
* *

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
Video
category
select,inse from
rt,update,r categories
eferences table

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
Video
selected
to be
select,inse shown at
rt,update,r home
eferences page

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
Which
video
should
appear at
the main
select,inse video of
rt,update,r the home
eferences page
select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences

select,inse
rt,update,r
eferences
Field * Type * Collation Null * Key * Default Extra * Privileges *
select,insert,
auto_increm update,refer
id int(11) NO PRI ent ences
select,insert,
update,refer
id_video int(11) YES ences
select,insert,
utf8_general update,refer
url_img varchar(255) _ci YES ences
select,insert,
creation_dat update,refer
e date YES ences
select,insert,
update,refer
height int(11) YES ences
select,insert,
update,refer
width int(11) YES ences
Comment *
Comment
Field * Type * Collation Null * Key * Default Extra * Privileges *
*

auto_incre select,insert,up
id int(11) NO PRI ment date,references

select,insert,up
id_user int(11) YES date,references

select,insert,up
id_video int(11) YES date,references

select,insert,up
rate int(11) YES date,references

select,insert,up
data datetime YES date,references

last_updat select,insert,up
e_date datetime YES date,references

varchar(25 utf8_gene select,insert,up


ip 5) ral_ci YES date,references

xforwarde utf8_gene select,insert,up


dip text ral_ci YES date,references

varchar(11 utf8_gene select,insert,up


bad_rating ) ral_ci YES date,references

deleted_fl utf8_gene select,insert,up


ag char(1) ral_ci NO N date,references
Field * Type * Collation Null * Key * Default Extra * Privileges *
select,insert,
auto_increm update,refer
id int(11) NO PRI ent ences
select,insert,
update,refer
durationms int(10) YES ences
select,insert,
update,refer
user_id int(11) YES ences
select,insert,
update,refer
video_id int(11) YES ences
select,insert,
creation_dat update,refer
e datetime YES ences
select,insert,
latin1_swedi update,refer
source char(1) sh_ci YES ences
select,insert,
latin1_swedi update,refer
ip varchar(255) sh_ci YES ences
select,insert,
latin1_swedi update,refer
xforwardedip varchar(255) sh_ci YES ences
select,insert,
latin1_swedi update,refer
embed_url varchar(255) sh_ci YES ences
Comment *

(¿no se podría implementar como un campo de la tabla documents?)


Field * Type * Collation Null * Key * Default Extra * Privileges *
select,insert,
auto_increm update,refer
id int(11) NO PRI ent ences
select,insert,
update,refer
video_id int(11) YES ences
select,insert,
update,refer
tag_id int(11) YES ences
select,insert,
update,refer
data_creacio date YES ences
Comment *
Privileges
Field * Type * Collation Null * Key * Default Extra *
*

select,inse
auto_incre rt,update,r
id int(11) NO PRI ment eferences

select,inse
varchar(25 utf8_gene rt,update,r
titol 5) ral_ci YES eferences

select,inse
utf8_gene rt,update,r
comentari longtext ral_ci YES eferences

select,inse
rt,update,r
id_user int(11) YES eferences

select,inse
varchar(24 utf8_gene rt,update,r
username ) ral_ci YES eferences

select,inse
rt,update,r
num_comment int(11) YES eferences

select,inse
rt,update,r
id_video int(11) YES MUL eferences

select,inse
rt,update,r
creation_date datetime YES eferences

select,inse
utf8_gene rt,update,r
estat char(1) ral_ci YES eferences

select,inse
varchar(25 utf8_gene rt,update,r
ip 5) ral_ci YES eferences

select,inse
utf8_gene rt,update,r
xforwardedip text ral_ci YES eferences

select,inse
rt,update,r
thumbs_up int(11) YES 0 eferences

select,inse
rt,update,r
spam int(11) YES 0 eferences
select,inse
rt,update,r
id_comment_replied int(11) YES eferences

select,inse
rt,update,r
position_comment_replied int(11) YES eferences

select,inse
rt,update,r
delete_date datetime YES eferences
Comment
*
Field * Type * Collation Null * Key * Default Extra * Privileges *
select,insert,
auto_increm update,refer
id int(11) NO PRI ent ences
select,insert,
update,refer
id_comment int(11) NO 0 ences
select,insert,
latin1_swedi update,refer
id_user varchar(250) sh_ci NO 0 ences
select,insert,
latin1_swedi update,refer
ip varchar(15) sh_ci NO ences
select,insert,
latin1_swedi update,refer
thumbs_up char(1) sh_ci YES ences
select,insert,
latin1_swedi update,refer
spam char(1) sh_ci YES ences
select,insert,
creation_dat update,refer
e datetime YES ences
Comment *
video_actions
video_bmat_result
video_comment_alerts