Changed primary_key types from BigInt to Integer