aboutsummaryrefslogtreecommitdiff
path: root/lib/Server.hs
diff options
context:
space:
mode:
authorstuebinm2024-05-16 23:07:51 +0200
committerstuebinm2024-05-16 23:07:51 +0200
commit7aeb39861887bd76ba35e5cf5222ddf08df68045 (patch)
tree5e8ad29995cef57b190fc541cbdf3e2a4f9ca94f /lib/Server.hs
parent403c2c7ade31861c36334f0185b644e38d2dd71f (diff)
Persist: add cascade rules to foreign keys
It turns out persist does support these, they're just not mentioned in the yesod book. (for future reference, the syntax is defined in Database.Persist.Quasi, which does include some documentation [1]) [1] https://hackage.haskell.org/package/persistent-2.14.6.1/docs/Database-Persist-Quasi.html
Diffstat (limited to 'lib/Server.hs')
0 files changed, 0 insertions, 0 deletions