📜  laravel 有很多直通关系 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:16.153000             🧑  作者: Mango

代码示例1
projects
    id - integer
    name - string

environments
    id - integer
    project_id - integer
    name - string

deployments
    id - integer
    environment_id - integer
    commit_hash - string