@@ -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();
|
@@ -37,11 +37,11 @@ discard block |
||
| 37 | 37 | $table->creation(); |
| 38 | 38 | }); |
| 39 | 39 | |
| 40 | - Schema::table('User', function (Blueprint $table) {
|
|
| 40 | + Schema::table('User', function(Blueprint $table) {
|
|
| 41 | 41 | $table->creationRelation(); |
| 42 | 42 | }); |
| 43 | 43 | |
| 44 | - Schema::create('Visits', function (Blueprint $table) {
|
|
| 44 | + Schema::create('Visits', function(Blueprint $table) {
|
|
| 45 | 45 | $table->increments('id');
|
| 46 | 46 | $table->string('url')->nullable();
|
| 47 | 47 | $table->string('ip', 15)->nullable();
|
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | $table->timestamps(); |
| 61 | 61 | }); |
| 62 | 62 | |
| 63 | - Schema::create('Logs', function (Blueprint $table) {
|
|
| 63 | + Schema::create('Logs', function(Blueprint $table) {
|
|
| 64 | 64 | $table->increments('id');
|
| 65 | 65 | $table->text('log');
|
| 66 | 66 | $table->integer('target')->nullable();
|
@@ -69,11 +69,11 @@ discard block |
||
| 69 | 69 | $table->creation(); |
| 70 | 70 | }); |
| 71 | 71 | |
| 72 | - Schema::table('Logs', function (Blueprint $table) {
|
|
| 72 | + Schema::table('Logs', function(Blueprint $table) {
|
|
| 73 | 73 | $table->creationRelation(); |
| 74 | 74 | }); |
| 75 | 75 | |
| 76 | - Schema::create('Settings', function (Blueprint $table) {
|
|
| 76 | + Schema::create('Settings', function(Blueprint $table) {
|
|
| 77 | 77 | $table->increments('id');
|
| 78 | 78 | $table->string('friendly_name', 25);
|
| 79 | 79 | $table->string('name', 25);
|
@@ -83,11 +83,11 @@ discard block |
||
| 83 | 83 | $table->creation(); |
| 84 | 84 | }); |
| 85 | 85 | |
| 86 | - Schema::table('Settings', function (Blueprint $table) {
|
|
| 86 | + Schema::table('Settings', function(Blueprint $table) {
|
|
| 87 | 87 | $table->creationRelation(); |
| 88 | 88 | }); |
| 89 | 89 | |
| 90 | - Schema::create('Group', function (Blueprint $table) {
|
|
| 90 | + Schema::create('Group', function(Blueprint $table) {
|
|
| 91 | 91 | $table->increments('id');
|
| 92 | 92 | $table->string('name', 25);
|
| 93 | 93 | $table->string('description', 250)->nullable();
|
@@ -101,11 +101,11 @@ discard block |
||
| 101 | 101 | $table->unique('slug');
|
| 102 | 102 | }); |
| 103 | 103 | |
| 104 | - Schema::table('Group', function (Blueprint $table) {
|
|
| 104 | + Schema::table('Group', function(Blueprint $table) {
|
|
| 105 | 105 | $table->creationRelation(); |
| 106 | 106 | }); |
| 107 | 107 | |
| 108 | - Schema::create('Group_User', function (Blueprint $table) {
|
|
| 108 | + Schema::create('Group_User', function(Blueprint $table) {
|
|
| 109 | 109 | $table->increments('id');
|
| 110 | 110 | $table->integer('user')->unsigned();
|
| 111 | 111 | $table->integer('group')->unsigned();
|
@@ -118,11 +118,11 @@ discard block |
||
| 118 | 118 | $table->foreign('group')->references('id')->on('Group');
|
| 119 | 119 | }); |
| 120 | 120 | |
| 121 | - Schema::table('Group_User', function (Blueprint $table) {
|
|
| 121 | + Schema::table('Group_User', function(Blueprint $table) {
|
|
| 122 | 122 | $table->creationRelation(); |
| 123 | 123 | }); |
| 124 | 124 | |
| 125 | - Schema::create('ActivityFeed', function (Blueprint $table) {
|
|
| 125 | + Schema::create('ActivityFeed', function(Blueprint $table) {
|
|
| 126 | 126 | $table->increments('id');
|
| 127 | 127 | $table->string('added_by', 150);
|
| 128 | 128 | $table->text('activity');
|