Init
This commit is contained in:
@@ -12,7 +12,7 @@ path = "src/lib.rs"
|
||||
async-std = { version = "1", features = ["attributes", "tokio1"] }
|
||||
|
||||
[dependencies.sea-orm-migration]
|
||||
version = "2.0.0-rc.38"
|
||||
version = "2.0.0-rc.40"
|
||||
features = [
|
||||
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
|
||||
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
|
||||
|
||||
@@ -174,7 +174,7 @@ impl MigrationTrait for Migration {
|
||||
.col(
|
||||
ColumnDef::new(Alias::new("pub_key"))
|
||||
.text()
|
||||
.not_null()
|
||||
.null()
|
||||
.unique_key(),
|
||||
)
|
||||
.col(
|
||||
|
||||
Reference in New Issue
Block a user