Changed the ids from 'INTEGER NOT NULL PRIMARY KEY' to 'SERIAL'