| @@ 76-84 (lines=9) @@ | ||
| 73 | $table->creationRelation(); |
|
| 74 | }); |
|
| 75 | ||
| 76 | Schema::create('Settings', function (Blueprint $table) {
|
|
| 77 | $table->increments('id');
|
|
| 78 | $table->string('friendly_name', 25);
|
|
| 79 | $table->string('name', 25);
|
|
| 80 | $table->string('value', 150)->nullable();
|
|
| 81 | $table->string('description', 250)->nullable();
|
|
| 82 | $table->timestamps(); |
|
| 83 | $table->creation(); |
|
| 84 | }); |
|
| 85 | ||
| 86 | Schema::table('Settings', function (Blueprint $table) {
|
|
| 87 | $table->creationRelation(); |
|
| @@ 90-102 (lines=13) @@ | ||
| 87 | $table->creationRelation(); |
|
| 88 | }); |
|
| 89 | ||
| 90 | Schema::create('Group', function (Blueprint $table) {
|
|
| 91 | $table->increments('id');
|
|
| 92 | $table->string('name', 25);
|
|
| 93 | $table->string('description', 250)->nullable();
|
|
| 94 | $table->string('slug', 250);
|
|
| 95 | $table->text('permissions')->nullable();
|
|
| 96 | ||
| 97 | $table->timestamps(); |
|
| 98 | $table->softDeletes(); |
|
| 99 | $table->creation(); |
|
| 100 | ||
| 101 | $table->unique('slug');
|
|
| 102 | }); |
|
| 103 | ||
| 104 | Schema::table('Group', function (Blueprint $table) {
|
|
| 105 | $table->creationRelation(); |
|
| @@ 125-134 (lines=10) @@ | ||
| 122 | $table->creationRelation(); |
|
| 123 | }); |
|
| 124 | ||
| 125 | Schema::create('ActivityFeed', function (Blueprint $table) {
|
|
| 126 | $table->increments('id');
|
|
| 127 | $table->string('added_by', 150);
|
|
| 128 | $table->text('activity');
|
|
| 129 | $table->string('icon', 100);
|
|
| 130 | $table->string('link', 250)->nullable();
|
|
| 131 | $table->text('permissions')->nullable();
|
|
| 132 | ||
| 133 | $table->timestamps(); |
|
| 134 | }); |
|
| 135 | ||
| 136 | } |
|
| 137 | ||