mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-14 03:51:27 +00:00
fix: unique pro evideční číslo přihlášky
This commit is contained in:
parent
3fb5a51cfb
commit
4493e408e3
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ impl MigrationTrait for Migration {
|
|||
ColumnDef::new(Parent::Application)
|
||||
.integer()
|
||||
.not_null()
|
||||
.primary_key(),
|
||||
.primary_key()
|
||||
.unique_key(),
|
||||
)
|
||||
.col(ColumnDef::new(Parent::Name).string())
|
||||
.col(ColumnDef::new(Parent::Surname).string())
|
||||
|
|
|
|||
Loading…
Reference in a new issue