Skip to content

Commit cdb4d14

Browse files
committed
resolve conflict
2 parents 31a6f7d + d3b8c43 commit cdb4d14

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,25 +89,12 @@ console
8989
migrations/ contains database migrations
9090
models/ contains console-specific model classes
9191
runtime/ contains files generated during runtime
92-
backend
93-
assets/ contains application assets such as JavaScript and CSS
94-
config/ contains backend configurations
95-
controllers/ contains Web controller classes
96-
models/ contains backend-specific model classes
92+
api
93+
config/ contains api configurations
94+
modules/ contains Web controller classes
9795
runtime/ contains files generated during runtime
98-
tests/ contains tests for backend application
99-
views/ contains view files for the Web application
96+
tests/ contains tests for api application
10097
web/ contains the entry script and Web resources
101-
frontend
102-
assets/ contains application assets such as JavaScript and CSS
103-
config/ contains frontend configurations
104-
controllers/ contains Web controller classes
105-
models/ contains frontend-specific model classes
106-
runtime/ contains files generated during runtime
107-
tests/ contains tests for frontend application
108-
views/ contains view files for the Web application
109-
web/ contains the entry script and Web resources
110-
widgets/ contains frontend widgets
11198
vendor/ contains dependent 3rd-party packages
11299
environments/ contains environment-based overrides
113100
```
@@ -130,3 +117,18 @@ To scan the tree 'sourcePath' to generate files default for labels used in the c
130117
To change target lenguage for example to spanish use
131118
```Yii::$app->language = 'es';```
132119

120+
121+
### Applying migrations
122+
123+
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
124+
yii2 base user table:
125+
```
126+
id string(36) - v4 UUID
127+
access_token string(32) - user access token
128+
refresh_token string(32) - used to refresh the access token
129+
created_at int(13) - Time of creation
130+
updated_at int(13) - Time of creation
131+
created_by string(13) - id of the user that created the record
132+
updated_by string(13) - id of the last user that updated the record
133+
```
134+

0 commit comments

Comments
 (0)