mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-13 01:20:26 -07:00
chore: initial public commit
This commit is contained in:
commit
fc9054b78c
250 changed files with 32809 additions and 0 deletions
3
db/migrations/000002_fix_api_key_fkey.sql
Normal file
3
db/migrations/000002_fix_api_key_fkey.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- +goose Up
|
||||
ALTER TABLE api_keys DROP CONSTRAINT api_keys_user_id_fkey;
|
||||
ALTER TABLE api_keys ADD CONSTRAINT api_keys_user_id_fkey FOREIGN KEY(user_id) REFERENCES users(id) ON DELETE CASCADE;
|
||||
Loading…
Add table
Add a link
Reference in a new issue