- コミット日時:
- 2010/09/13 19:44:00 (14 年前)
- ファイル:
-
- trunk/install/mktable.txt (更新) (1 diff)
- trunk/install/perl/db/Pg.pl (更新) (1 diff)
- trunk/install/perl/db/SQLite.pl (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/mktable.txt
r111 r113 62 62 drop table foltia_epg; 63 63 create table foltia_epg ( 64 epgid int8 PRIMARY KEY SERIAL,64 epgid BIGSERIAL PRIMARY KEY , 65 65 startdatetime int8, 66 66 enddatetime int8, trunk/install/perl/db/Pg.pl
r111 r113 75 75 'xmltv2foltia.replaceepg.1' => "SELECT * FROM foltia_epg WHERE enddatetime > ? AND startdatetime < ? AND ontvchannel = ?", 76 76 'xmltv2foltia.commitdb.1' => "DELETE FROM foltia_epg WHERE epgid = ?", 77 'xmltv2foltia.commitdb.2' => "INSERT INTO foltia_epg VALUES (NULL, ?, ?, ?, ?, ?, ?, ?)" , 78 77 'xmltv2foltia.commitdb.2' => "INSERT INTO foltia_epg VALUES ( nextval('foltia_epg_epgid_seq'), ?, ?, ?, ?, ?, ?, ?)" , 79 78 'epgimport.1' => "SELECT count(*) FROM foltia_station WHERE stationid = ?" , 80 79 'epgimport.2' => "SELECT digitalch,ontvcode FROM foltia_station WHERE stationid = ?" , trunk/install/perl/db/SQLite.pl
r94 r113 4 4 $stmt{'foltialib.changefilestatus.1'} = "UPDATE foltia_subtitle SET filestatus = ?, lastupdate = datetime('now', 'localtime') WHERE pid = ?"; 5 5 6 $stmt{'xmltv2foltia.commitdb.2'} ="INSERT INTO foltia_epg VALUES (NULL, ?, ?, ?, ?, ?, ?, ?)"; 7 8 6 9 1;