mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 02:49:17 +01:00
fix: formatting & DB
This commit is contained in:
parent
2ffc66f412
commit
5949bb9bf3
5 changed files with 69 additions and 11 deletions
|
|
@ -41,11 +41,7 @@ impl MigrationTrait for Migration {
|
|||
.col(ColumnDef::new(FollowRelation::ApAcceptId).string())
|
||||
.col(ColumnDef::new(FollowRelation::Remote).boolean().not_null())
|
||||
.col(ColumnDef::new(FollowRelation::ApJson).string().not_null())
|
||||
.col(
|
||||
ColumnDef::new(FollowRelation::ApAcceptJson)
|
||||
.string()
|
||||
.not_null(),
|
||||
)
|
||||
.col(ColumnDef::new(FollowRelation::ApAcceptJson).string())
|
||||
.foreign_key(
|
||||
ForeignKey::create()
|
||||
.name("fk_follow_relation_followee_id")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue