Modified table creation script