Added index on pageid and userid properties.

Authored by davidev on Mar 14 2017, 12:45 PM.

Description

Added index on pageid and userid properties.

In case of duplicated users or pages an exception is thrown, rolling
back the all insertion. In the future we can think about a check on the
existence of the element before calling the insert method

Signed-off-by: Davide Valsecchi <valsecchi.davide94@gmail.com>

Details

Committed
davidevMar 14 2017, 12:45 PM
Parents
R195:0598797cccb4: Fetched and inserted Users
Branches
Unknown
Tags
Unknown