mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
fomat
This commit is contained in:
parent
4d4e3ed794
commit
fa3e4634cb
7 changed files with 69 additions and 19 deletions
|
|
@ -8,8 +8,9 @@ pub struct Migration;
|
|||
#[async_trait::async_trait]
|
||||
impl MigrationTrait for Migration {
|
||||
async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
||||
|
||||
manager.drop_table(Table::drop().table(Post::Table).to_owned()).await?;
|
||||
manager
|
||||
.drop_table(Table::drop().table(Post::Table).to_owned())
|
||||
.await?;
|
||||
|
||||
manager
|
||||
.create_table(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue