Use longs instead of ints for database ids.
10 files changed