ppf: Update insert rules in SQL files for tranfer_directions table.
authorroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:06:19 +0000 (21:06 +0300)
committerroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:13:50 +0000 (21:13 +0300)
ppf/sql/p2p-log-mysql.sql

index 8e35fef..8f6f8c9 100644 (file)
@@ -137,12 +137,12 @@ INSERT INTO btclients(name, language, url, dht_support, streaming_support)
 INSERT INTO btclients(name, language, url, dht_support, streaming_support)
        VALUES('Mainline', 'Python', TRUE, FALSE);
 
---
 -- insert into `transfer_directions` table
--- direction = 0 -> receive (from peer)
--- direction = 1 -> send (to peer)
---
 
---
+INSERT INTO transfer_directions(value) VALUES('receive');
+INSERT INTO transfer_directions(value) VALUES('send');
+
+) ENGINE=InnoDB;
+
 -- insert into `message_types` table
 --