Completed
Push — dev ( ff0a8e...21175d )
by Pavel
08:20
created
app/database/migrations/20161016143152_create_roles_to_right_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.
app/src/Schema/RoleSchema.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -196,25 +196,25 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
app/database/migrations/20160706232835_create_rights_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.
app/database/migrations/20160706231338_create_users_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.
app/database/migrations/20160706233448_create_logs_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.