@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | |
4 | 4 | class CreateRolesToRightTable{ |
5 | 5 | /** |
6 | - * Do the migration |
|
7 | - */ |
|
6 | + * Do the migration |
|
7 | + */ |
|
8 | 8 | public function up() |
9 | 9 | { |
10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * Undo the migration |
|
21 | - */ |
|
20 | + * Undo the migration |
|
21 | + */ |
|
22 | 22 | public function down() |
23 | 23 | { |
24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -196,25 +196,25 @@ |
||
196 | 196 | */ |
197 | 197 | |
198 | 198 | /** |
199 | - * @api {delete} /role/:id Удаление роли |
|
200 | - * @apiName DeleteRole |
|
201 | - * @apiGroup Role |
|
202 | - * |
|
203 | - * @apiDescription Метод для удаления роли. |
|
204 | - * |
|
205 | - * @apiPermission admin |
|
206 | - * |
|
207 | - * @apiParam {Number} id Id роли |
|
208 | - * |
|
209 | - * @apiHeader {String} Authorization Токен. |
|
210 | - * |
|
211 | - * @apiSuccessExample {json} Успешно (204) |
|
212 | - * HTTP/1.1 204 OK |
|
213 | - * |
|
214 | - * @apiUse UnauthorizedError |
|
215 | - * @apiUse StandardErrors |
|
216 | - * @apiUse NotFoundError |
|
217 | - */ |
|
199 | + * @api {delete} /role/:id Удаление роли |
|
200 | + * @apiName DeleteRole |
|
201 | + * @apiGroup Role |
|
202 | + * |
|
203 | + * @apiDescription Метод для удаления роли. |
|
204 | + * |
|
205 | + * @apiPermission admin |
|
206 | + * |
|
207 | + * @apiParam {Number} id Id роли |
|
208 | + * |
|
209 | + * @apiHeader {String} Authorization Токен. |
|
210 | + * |
|
211 | + * @apiSuccessExample {json} Успешно (204) |
|
212 | + * HTTP/1.1 204 OK |
|
213 | + * |
|
214 | + * @apiUse UnauthorizedError |
|
215 | + * @apiUse StandardErrors |
|
216 | + * @apiUse NotFoundError |
|
217 | + */ |
|
218 | 218 | final class RoleSchema extends BaseSchema |
219 | 219 | { |
220 | 220 | protected $resourceType = 'role'; |
@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | |
4 | 4 | class CreateRolesToRightTable{ |
5 | 5 | /** |
6 | - * Do the migration |
|
7 | - */ |
|
6 | + * Do the migration |
|
7 | + */ |
|
8 | 8 | public function up() |
9 | 9 | { |
10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * Undo the migration |
|
21 | - */ |
|
20 | + * Undo the migration |
|
21 | + */ |
|
22 | 22 | public function down() |
23 | 23 | { |
24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | |
4 | 4 | class CreateRolesToRightTable{ |
5 | 5 | /** |
6 | - * Do the migration |
|
7 | - */ |
|
6 | + * Do the migration |
|
7 | + */ |
|
8 | 8 | public function up() |
9 | 9 | { |
10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * Undo the migration |
|
21 | - */ |
|
20 | + * Undo the migration |
|
21 | + */ |
|
22 | 22 | public function down() |
23 | 23 | { |
24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | |
4 | 4 | class CreateRolesToRightTable{ |
5 | 5 | /** |
6 | - * Do the migration |
|
7 | - */ |
|
6 | + * Do the migration |
|
7 | + */ |
|
8 | 8 | public function up() |
9 | 9 | { |
10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * Undo the migration |
|
21 | - */ |
|
20 | + * Undo the migration |
|
21 | + */ |
|
22 | 22 | public function down() |
23 | 23 | { |
24 | 24 | Capsule::schema()->drop('roles_to_rights'); |