Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 0161a5f

Browse files
committed
Fix migration
1 parent 70a88e5 commit 0161a5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/migrations/20210122.230108_0_0_default_change_link_suggestion_add_source_change_user_account_add_username.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public function up(): void
2929

3030
public function down(): void
3131
{
32-
$this->table('identity')
32+
$this->table('user_identity')
3333
->addColumn('token', 'string', [
34-
'nullable' => false,
34+
'nullable' => true,
3535
'default' => null,
3636
'size' => 128
3737
])
3838
->addIndex(["token"], [
3939
'name' => 'identity_index_token_5f34458bf367f',
40-
'unique' => true
40+
'unique' => true,
4141
])
4242
->update();
4343

0 commit comments

Comments
 (0)