Skip to content

Commit 5156b5e

Browse files
author
Angel Garcia
committed
Added migration docs to README file
1 parent c0c2135 commit 5156b5e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,18 @@ The i18n configuration file is located at ```<ProjectRoot>/messages/config-messa
122122

123123
To extract your app messages you can do so using the [message command](https://www.yiiframework.com/doc/guide/2.0/en/tutorial-i18n#using-the-message-command).
124124

125-
```./yii message messages/config-messages.php```
125+
```./yii message messages/config-messages.php```
126+
127+
### Applying migrations
128+
129+
The migrations can be found in ```@console/migrations``` . The initial migration named ```m130524_201442_init.php``` contains the user table creation script, including the following aditions to
130+
yii2 base user table:
131+
```
132+
id string(36) - v4 UUID
133+
access_token string(32) - user access token
134+
refresh_token string(32) - used to refresh the access token
135+
created_at int(13) - Time of creation
136+
updated_at int(13) - Time of creation
137+
created_by string(13) - id of the user that created the record
138+
updated_by string(13) - id of the last user that updated the record
139+
```

0 commit comments

Comments
 (0)