ppf: Change column name from direction_id to transfer_direction_id.
authorroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:33:16 +0000 (21:33 +0300)
committerroot p2p-next-02 <root@p2p-next-02.grid.pub.ro>
Sun, 7 Aug 2011 18:33:16 +0000 (21:33 +0300)
ppf/sql/p2p-log-mysql.sql

index 365bd7e..b3fdfe4 100644 (file)
@@ -109,7 +109,7 @@ CREATE TABLE verbose_messages (
        id UNSIGNED INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
        client_session_id UNSIGNED INTEGER NOT NULL REFERENCES client_sessions(id) ON DELETE CASCADE ON UPDATE CASCADE,
        timestamp DATETIME,
-       direction_id UNSIGNED TINYINT NOT NULL REFERENCES transfer_directions(id),
+       transfer_direction_id UNSIGNED TINYINT NOT NULL REFERENCES transfer_directions(id),
        -- beware of IPv6
        peer_ip VARCHAR(100) NOT NULL,
        peer_port UNSIGNED SMALLINT NOT NULL,