Changeset 2694

Show
Ignore:
Timestamp:
02/15/06 14:50:23 (19 years ago)
Author:
matt
Message:

Make the quota table IDs INT8 (bigint) so that we never run out if there get to be lots of printers and/or users

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/mysql/pykota-mysql.sql

    r2691 r2694  
    7878-- Create the print quota table for users 
    7979-- 
    80 CREATE TABLE userpquota (id INT4 PRIMARY KEY NOT NULL AUTO_INCREMENT, 
     80CREATE TABLE userpquota (id INT8 PRIMARY KEY NOT NULL AUTO_INCREMENT, 
    8181                        userid INT4,  
    8282                        printerid INT4,  
     
    128128-- Create the print quota table for groups 
    129129-- 
    130 CREATE TABLE grouppquota(id INT4 PRIMARY KEY NOT NULL AUTO_INCREMENT, 
     130CREATE TABLE grouppquota(id INT8 PRIMARY KEY NOT NULL AUTO_INCREMENT, 
    131131                         groupid INT4,  
    132132                         printerid INT4,