update migration
This commit is contained in:
parent
66677fb076
commit
41e441b369
32
README.md
Normal file
32
README.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Minetest Bower
|
||||||
|
|
||||||
|
|
||||||
|
## Using Heroku
|
||||||
|
|
||||||
|
Deploy:
|
||||||
|
|
||||||
|
```
|
||||||
|
git push heroku master
|
||||||
|
```
|
||||||
|
|
||||||
|
Run migrations:
|
||||||
|
|
||||||
|
```
|
||||||
|
heroku run php /app/yii migrate/up --interactive=0
|
||||||
|
```
|
||||||
|
|
||||||
|
View database:
|
||||||
|
|
||||||
|
```
|
||||||
|
heroku pg:psql
|
||||||
|
```
|
||||||
|
|
||||||
|
View logs:
|
||||||
|
|
||||||
|
```
|
||||||
|
heroku logs --tail
|
||||||
|
```
|
||||||
|
|
||||||
|
More info:
|
||||||
|
|
||||||
|
https://devcenter.heroku.com/articles/getting-started-with-php
|
@ -13,7 +13,7 @@ class m150808_000001_create_package extends Migration
|
|||||||
'id' => Schema::TYPE_PK,
|
'id' => Schema::TYPE_PK,
|
||||||
'name' => Schema::TYPE_STRING . '(50) NOT NULL',
|
'name' => Schema::TYPE_STRING . '(50) NOT NULL',
|
||||||
'url' => Schema::TYPE_STRING . '(255) NOT NULL',
|
'url' => Schema::TYPE_STRING . '(255) NOT NULL',
|
||||||
'hits' => Schema::TYPE_INTEGER . ' NOT NULL',
|
'hits' => Schema::TYPE_INTEGER . ' NOT NULL DEFAULT 0',
|
||||||
'bower' => Schema::TYPE_TEXT,
|
'bower' => Schema::TYPE_TEXT,
|
||||||
'homepage' => Schema::TYPE_STRING . '(255)',
|
'homepage' => Schema::TYPE_STRING . '(255)',
|
||||||
'description' => Schema::TYPE_STRING . '(140)',
|
'description' => Schema::TYPE_STRING . '(140)',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user