Fixing ids table on fresh new database.