Ghost
New
flaxo
/
ghost
public
forked from
ghost/ghost
Source code of Ghost - On Ghost
Star
0
Fork
0
Code
Issues
0
Pull requests
0
04047d5
34
branches
Go to file
t
Code
ghost
packages
db
drizzle
0023_pull_requests_outlive_head.sql
Add repository settings, and make deletion purge everything
1456280
17 days ago
4 lines · 418 B
1
ALTER
TABLE
"
pull_request
"
DROP
CONSTRAINT
"
pull_request_headRepositoryId_repository_id_fk
"
;
2
--
> statement-breakpoint
3
ALTER
TABLE
"
pull_request
"
ALTER
COLUMN
4
ALTER
TABLE
"
pull_request
"
ADD
"
headRepositoryId
"
DROP
NOT NULL
;
--
> statement-breakpoint
CONSTRAINT
"
pull_request_headRepositoryId_repository_id_fk
"
FOREIGN KEY
(
"
headRepositoryId
"
)
REFERENCES
"
public
"
.
"
repository
"
(
"
id
"
)
ON DELETE
set
null
ON UPDATE
no
action
;