File: 20001214.sql

package info (click to toggle)
gforge 4.5.14-22etch13
  • links: PTS
  • area: main
  • in suites: etch
  • size: 13,004 kB
  • ctags: 11,918
  • sloc: php: 36,047; sql: 29,050; sh: 10,538; perl: 6,496; xml: 3,810; makefile: 341; python: 263; ansic: 256
file content (15 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
alter table filemodule_monitor add column id int not null default 0 primary key auto_increment first;
alter table frs_dlstats_filetotal_agg change column file_id file_id int not null default 0 primary key;
alter table group_cvs_history add column id int not null default 0 primary key auto_increment first;

DROP TABLE system_news;
DROP TABLE system_history;
DROP TABLE system_status;
DROP TABLE system_services;
DROP TABLE system_machines;


create index foundrynews_foundry_date_approved on foundry_news(foundry_id,approve_date,is_approved);
create index news_group_date on news_bytes(group_id,date);
create index news_date on news_bytes(date);
create index news_approved_date on news_bytes(is_approved,date);