-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from dmstr/feature/access_owner_uuid
allow string(255) for access_owner as in other access_ cols
- Loading branch information
Showing
4 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
migrations/m230606_120101_change_hashmap_table_access_owner.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
use yii\db\Migration; | ||
|
||
class m230606_120101_change_hashmap_table_access_owner extends Migration | ||
{ | ||
public function up() | ||
{ | ||
// allow uuid as access_owner value | ||
$this->alterColumn("filefly_hashmap","access_owner", $this->string(36)); | ||
} | ||
|
||
public function down() | ||
{ | ||
return false; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
migrations/m230606_120120_change_hashmap_table_access_owner_v2.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
use yii\db\Migration; | ||
|
||
class m230606_120120_change_hashmap_table_access_owner_v2 extends Migration | ||
{ | ||
public function up() | ||
{ | ||
// allow uuid and longer strings as access_owner value | ||
$this->alterColumn("filefly_hashmap","access_owner", $this->string(255)); | ||
} | ||
|
||
public function down() | ||
{ | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters