init
This commit is contained in:
23
vendor/yii2mod/yii2-rbac/views/migration.php
vendored
Normal file
23
vendor/yii2mod/yii2-rbac/views/migration.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* @var string the new migration class name
|
||||
*/
|
||||
echo "<?php\n";
|
||||
?>
|
||||
|
||||
use yii2mod\rbac\migrations\Migration;
|
||||
|
||||
class <?= $className; ?> extends Migration
|
||||
{
|
||||
public function safeUp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function safeDown()
|
||||
{
|
||||
echo "<?= $className; ?> cannot be reverted.\n";
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user