How does one add constraints with Vapor?

前端 未结 0 1569
醉酒成梦
醉酒成梦 2021-01-17 23:37

How does one define constraints via Vapor? Here\'s my latest attempt:

database.schema(Thingmabob.schema)
    .id()
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题