Primary key type matching the FK

When creating a user_id field in another table, the type of this user_id must be similar to the one in the Users table... for example, if its bitIncreament the user_ id must be unsignedBigInteger...etc

Edit this note