diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2018-12-30 11:58:59 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2018-12-31 09:06:36 -0500 |
| commit | 4a75bcac70417691f106f18a32a1cc33d55b0060 (patch) | |
| tree | 4153da605ff10189288b7659197a702634fbe377 /schema.sql | |
| parent | 3b49837d167e8770f1054457e172c36109169e51 (diff) | |
| download | id-4a75bcac70417691f106f18a32a1cc33d55b0060.tar.gz | |
update schema
Diffstat (limited to 'schema.sql')
| -rw-r--r-- | schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,6 +7,6 @@ CREATE TABLE sessions( id uuid DEFAULT gen_random_uuid() PRIMARY KEY, created_at timestamp DEFAULT now(), expire timestamp, - user_id integer REFERENCES users(id) + user_id integer REFERENCES users(id) ON DELETE CASCADE ); |
