Mercurial > epgrec.yaz
annotate tableStruct.inc.php @ 164:254d8a21bf36
fix: 予約済みの未実行録画にrecomplete.phpが必要なので戻した
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Tue, 06 Apr 2010 11:03:45 +0900 |
parents | 481e789605e3 |
children |
rev | line source |
---|---|
114 | 1 <?php |
2 // 若帥若鴻若絎臂 | |
3 | |
4 | |
5 // 篋膣若 | |
6 define( "RESERVE_STRUCT", | |
7 "id integer not null auto_increment primary key,". // ID | |
8 "channel_disc varchar(128) not null default 'none',". // channel disc | |
9 "channel_id integer not null default '0',". // channel ID | |
10 "program_id integer not null default '0',". // Program ID | |
11 "type varchar(8) not null default 'GR',". // 腮ワGR/BS/CS鐚 | |
12 "channel varchar(10) not null default '0',". // c潟 | |
13 "title varchar(512) not null default 'none',". // 帥ゃ | |
14 "description varchar(512) not null default 'none',". // 茯 text->varchar | |
15 "category_id integer not null default '0',". // 眼ID | |
16 "starttime datetime not null default '1970-01-01 00:00:00',". // 紮 | |
17 "endtime datetime not null default '1970-01-01 00:00:00',". // 腟篋 | |
18 "job integer not null default '0',". // job | |
19 "path blob default null,". // 牙祉<ゃ | |
20 "complete boolean not null default '0',". // 絎篋 | |
21 "reserve_disc varchar(128) not null default 'none',". // 茘ョhash | |
22 "autorec integer not null default '0',". // 若若ID | |
115 | 23 "mode integer not null default '0',". // 牙祉≪若 |
142
481e789605e3
mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
135
diff
changeset
|
24 "dirty boolean not null default '0',". // 若c |
114 | 25 "index reserve_ch_idx (channel_disc),". // ゃ潟 |
26 "index reserve_st_idx (starttime)". | |
27 "" | |
28 ); | |
29 | |
30 | |
31 // 腟茵若 | |
32 define( "PROGRAM_STRUCT", | |
33 "id integer not null auto_increment primary key,". // ID | |
34 "channel_disc varchar(128) not null default 'none',". // channel disc | |
35 "channel_id integer not null default '0',". // channel ID | |
36 "type varchar(8) not null default 'GR',". // 腮ワGR/BS/CS鐚 | |
37 "channel varchar(10) not null default '0',". // c潟 | |
38 "title varchar(512) not null default 'none',". // 帥ゃ | |
39 "description varchar(512) not null default 'none',". // 茯 text->varchar | |
40 "category_id integer not null default '0',". // 眼ID | |
41 "starttime datetime not null default '1970-01-01 00:00:00',". // 紮 | |
42 "endtime datetime not null default '1970-01-01 00:00:00',". // 腟篋 | |
43 "program_disc varchar(128) not null default 'none',". // 茘ョhash | |
44 "autorec boolean not null default '1',". // 牙紙合≦ | |
45 "index program_ch_idx (channel_disc),". // ゃ潟 | |
46 "index program_st_idx (starttime)". | |
47 "" | |
48 ); | |
49 | |
50 | |
51 define( "CHANNEL_STRUCT", | |
52 "id integer not null auto_increment primary key,". // ID | |
53 "type varchar(8) not null default 'GR',". // 腮 | |
54 "channel varchar(10) not null default '0',". // channel | |
55 "name varchar(512) not null default 'none',". // 茵腓阪 | |
56 "channel_disc varchar(128) not null default 'none',". // 茘ョhash | |
57 "sid varchar(64) not null default 'hd',". // 泣若ID02/23/2010菴遵 | |
58 "skip boolean not null default '0'". // c潟鴻03/13/2010菴遵 | |
59 "" | |
60 ); | |
61 | |
62 define( "CATEGORY_STRUCT", | |
63 "id integer not null auto_increment primary key,". // ID | |
64 "name_jp varchar(512) not null default 'none',". // 茵腓阪 | |
65 "name_en varchar(512) not null default 'none',". // 筝 | |
66 "category_disc varchar(128) not null default 'none'" // 茘ョhash | |
67 ); | |
68 | |
69 | |
70 define( "KEYWORD_STRUCT", | |
71 "id integer not null auto_increment primary key,". // ID | |
72 "keyword varchar(512) not null default '*',". // 茵腓阪 | |
73 "type varchar(8) not null default '*',". // 腮 | |
74 "channel_id integer not null default '0',". // channel ID | |
75 "category_id integer not null default '0',". // 眼ID | |
76 "use_regexp boolean not null default '0',". // 罩h頫憗篏睡1 | |
77 "autorec_mode integer not null default '0',". // 牙祉≪若02/23/2010菴遵 | |
142
481e789605e3
mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
135
diff
changeset
|
78 "weekofday enum ('0','1','2','3','4','5','6','7' ) not null default '7'".// ャ菴遵 |
481e789605e3
mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
135
diff
changeset
|
79 ",prgtime enum ('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24') not null default '24'". // 03/13/2010菴遵 |
114 | 80 "" |
81 ); | |
82 | |
135
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
83 define( "LOG_STRUCT", |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
84 "id integer not null auto_increment primary key". // ID |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
85 ",logtime datetime not null default '1970-01-01 00:00:00'". // 荐我ユ |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
86 ",level integer not null default '0'". // 若 |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
87 ",message varchar(512) not null default ''". |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
88 "" |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
89 ); |
9c5e597ef6c6
mod: ログ機能を追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
115
diff
changeset
|
90 |
142
481e789605e3
mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
135
diff
changeset
|
91 ?> |