@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function up() |
15 | 15 | { |
16 | 16 | |
17 | - Schema::create('User', function (Blueprint $table) { |
|
17 | + Schema::create('User', function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('username', 25)->nullable()->unique(); |
20 | 20 | $table->string('password', 60)->nullable(); |
@@ -34,14 +34,14 @@ discard block |
||
34 | 34 | $table->creation(); |
35 | 35 | }); |
36 | 36 | |
37 | - Schema::create('Logs', function (Blueprint $table) { |
|
37 | + Schema::create('Logs', function(Blueprint $table) { |
|
38 | 38 | $table->increments('id'); |
39 | 39 | $table->text('log'); |
40 | 40 | $table->timestamps(); |
41 | 41 | $table->creation(); |
42 | 42 | }); |
43 | 43 | |
44 | - Schema::create('Settings', function (Blueprint $table) { |
|
44 | + Schema::create('Settings', function(Blueprint $table) { |
|
45 | 45 | $table->increments('id'); |
46 | 46 | $table->string('friendy_name', 25); |
47 | 47 | $table->string('name', 25); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $table->creation(); |
52 | 52 | }); |
53 | 53 | |
54 | - Schema::create('Group', function (Blueprint $table) { |
|
54 | + Schema::create('Group', function(Blueprint $table) { |
|
55 | 55 | $table->increments('id'); |
56 | 56 | $table->string('name', 25); |
57 | 57 | $table->string('description', 250)->nullable(); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $table->unique('slug'); |
66 | 66 | }); |
67 | 67 | |
68 | - Schema::create('Group_User', function (Blueprint $table) { |
|
68 | + Schema::create('Group_User', function(Blueprint $table) { |
|
69 | 69 | $table->increments('id'); |
70 | 70 | $table->integer('user')->unsigned(); |
71 | 71 | $table->integer('group')->unsigned(); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | $table->foreign('group')->references('id')->on('Group'); |
79 | 79 | }); |
80 | 80 | |
81 | - Schema::create('ActivityFeed', function (Blueprint $table) { |
|
81 | + Schema::create('ActivityFeed', function(Blueprint $table) { |
|
82 | 82 | $table->increments('id'); |
83 | 83 | $table->string('added_by', 150); |
84 | 84 | $table->text('activity'); |