@@ -11,27 +11,27 @@ discard block |
||
| 11 | 11 | */ |
| 12 | 12 | public function up() |
| 13 | 13 | { |
| 14 | - Schema::create('activity_log', function(Blueprint $table) |
|
| 15 | - { |
|
| 16 | - $table->increments('id'); |
|
| 14 | + Schema::create('activity_log', function(Blueprint $table) |
|
| 15 | + { |
|
| 16 | + $table->increments('id'); |
|
| 17 | 17 | |
| 18 | - $table->integer('user_id')->nullable(); |
|
| 19 | - $table->integer('content_id')->nullable(); |
|
| 18 | + $table->integer('user_id')->nullable(); |
|
| 19 | + $table->integer('content_id')->nullable(); |
|
| 20 | 20 | |
| 21 | - $table->string('content_type', 72)->nullable(); |
|
| 22 | - $table->string('action', 32)->nullable(); |
|
| 23 | - $table->string('description')->nullable(); |
|
| 21 | + $table->string('content_type', 72)->nullable(); |
|
| 22 | + $table->string('action', 32)->nullable(); |
|
| 23 | + $table->string('description')->nullable(); |
|
| 24 | 24 | |
| 25 | - $table->longText('details')->nullable(); |
|
| 26 | - $table->longText('data')->nullable(); |
|
| 25 | + $table->longText('details')->nullable(); |
|
| 26 | + $table->longText('data')->nullable(); |
|
| 27 | 27 | |
| 28 | - $table->string('version', 10)->nullable(); |
|
| 29 | - $table->string('ip_address', 64); |
|
| 30 | - $table->string('user_agent'); |
|
| 28 | + $table->string('version', 10)->nullable(); |
|
| 29 | + $table->string('ip_address', 64); |
|
| 30 | + $table->string('user_agent'); |
|
| 31 | 31 | |
| 32 | - $table->timestamp('created_at')->useCurrent(); |
|
| 33 | - $table->timestamp('updated_at')->useCurrent(); |
|
| 34 | - }); |
|
| 32 | + $table->timestamp('created_at')->useCurrent(); |
|
| 33 | + $table->timestamp('updated_at')->useCurrent(); |
|
| 34 | + }); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
@@ -41,6 +41,6 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function down() |
| 43 | 43 | { |
| 44 | - Schema::drop('activity_log'); |
|
| 44 | + Schema::drop('activity_log'); |
|
| 45 | 45 | } |
| 46 | 46 | } |