@Entity(tableName = "transactions", foreignKeys = {
@ForeignKey(entity = Profile.class, parentColumns = "id", childColumns = "profile_id",
onDelete = ForeignKey.CASCADE, onUpdate = ForeignKey.RESTRICT)
@Entity(tableName = "transactions", foreignKeys = {
@ForeignKey(entity = Profile.class, parentColumns = "id", childColumns = "profile_id",
onDelete = ForeignKey.CASCADE, onUpdate = ForeignKey.RESTRICT)