test
This commit is contained in:
parent
f4bc59df63
commit
0b099e17d5
12
README.md
12
README.md
@ -38,6 +38,18 @@ Run migrations:
|
||||
heroku run php /app/yii migrate/up --interactive=0
|
||||
```
|
||||
|
||||
Bash:
|
||||
|
||||
```
|
||||
heroku run bash
|
||||
```
|
||||
|
||||
Bash with vim
|
||||
|
||||
```
|
||||
heroku vim
|
||||
```
|
||||
|
||||
View database:
|
||||
|
||||
```
|
||||
|
@ -99,4 +99,13 @@ class ModController extends Controller
|
||||
throw new NotFoundHttpException('The requested page does not exist.');
|
||||
}
|
||||
}
|
||||
|
||||
public function actionTest()
|
||||
{
|
||||
$model = Package::find()->where(['name' => 'skyblock'])->one();
|
||||
$model->harvestModInfo();
|
||||
print_r($model->getDirtyAttributes());
|
||||
die;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user