-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts with newly added `$model` property which references the Resource’s model
- Loading branch information
1 parent
0de4edf
commit c2a40e8
Showing
3 changed files
with
31 additions
and
4 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
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,27 @@ | ||
<?php | ||
|
||
/** | ||
* Migration: 10 | ||
* Started: 06/08/2024 | ||
* | ||
* @package Nails | ||
* @subpackage module-admin | ||
* @category Database Migration | ||
* @author Nails Dev Team | ||
*/ | ||
|
||
namespace Nails\Admin\Database\Migration; | ||
|
||
use Nails\Common\Console\Migrate\Base; | ||
|
||
class Migration10 extends Base | ||
{ | ||
/** | ||
* Execute the migration | ||
* @return Void | ||
*/ | ||
public function execute() | ||
{ | ||
$this->query('ALTER TABLE `{{NAILS_DB_PREFIX}}admin_note` CHANGE `model` `item_model` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT \'\';'); | ||
} | ||
} |
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