sequelize, foreign key code example
Example 1: sequelize create record with foreign key constraint
Project.belongsTo(User, {foreignKey: 'user_id'})
Example 2: sequel foreign_key uuid
foreign_key :some_id, :mytables, type: :uuid
Project.belongsTo(User, {foreignKey: 'user_id'})
foreign_key :some_id, :mytables, type: :uuid