fix: oops name clash
This commit is contained in:
parent
c68adc7030
commit
4290011ce3
1 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ impl MigrationTrait for Migration {
|
||||||
manager
|
manager
|
||||||
.create_index(
|
.create_index(
|
||||||
Index::create()
|
Index::create()
|
||||||
.name("addressing-actor-index")
|
.name("addressing-actor-published-index")
|
||||||
.table(Addressing::Table)
|
.table(Addressing::Table)
|
||||||
.col(Addressing::Actor)
|
.col(Addressing::Actor)
|
||||||
.col(Addressing::Published)
|
.col(Addressing::Published)
|
||||||
|
@ -29,7 +29,7 @@ impl MigrationTrait for Migration {
|
||||||
manager
|
manager
|
||||||
.create_index(
|
.create_index(
|
||||||
Index::create()
|
Index::create()
|
||||||
.name("addressing-server-index")
|
.name("addressing-server-published-index")
|
||||||
.table(Addressing::Table)
|
.table(Addressing::Table)
|
||||||
.col(Addressing::Server)
|
.col(Addressing::Server)
|
||||||
.col(Addressing::Published)
|
.col(Addressing::Published)
|
||||||
|
@ -42,7 +42,7 @@ impl MigrationTrait for Migration {
|
||||||
|
|
||||||
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
||||||
manager
|
manager
|
||||||
.drop_index(Index::drop().name("addressing-actor-index").to_owned())
|
.drop_index(Index::drop().name("addressing-actor-published-index").to_owned())
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
manager
|
manager
|
||||||
|
@ -56,7 +56,7 @@ impl MigrationTrait for Migration {
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
manager
|
manager
|
||||||
.drop_index(Index::drop().name("addressing-server-index").to_owned())
|
.drop_index(Index::drop().name("addressing-server-published-index").to_owned())
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
manager
|
manager
|
||||||
|
|
Loading…
Reference in a new issue