| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function up() |
||
| 13 | { |
||
| 14 | Schema::create('cloud_storages', function (Blueprint $table) { |
||
| 15 | $table->increments('id'); |
||
| 16 | $table->morphs('owner'); |
||
| 17 | $table->string('driver'); |
||
| 18 | $table->text('token')->nullable(); |
||
| 19 | |||
| 20 | $table->string('name')->nullable(); |
||
| 21 | $table->string('email')->nullable(); |
||
| 22 | |||
| 23 | $table->boolean('connected')->default(0); |
||
| 24 | $table->boolean('enabled')->default(0); |
||
| 25 | $table->boolean('full')->default(0); |
||
| 26 | $table->string('reason')->nullable(); |
||
| 27 | |||
| 28 | $table->bigInteger('total_space')->nullable(); |
||
| 29 | $table->bigInteger('space_used')->nullable(); |
||
| 30 | $table->bigInteger('space_available')->nullable(); |
||
| 31 | $table->float('percent_full', 4)->default(0); |
||
| 32 | |||
| 33 | $table->timestamp('space_checked_at')->nullable(); |
||
| 34 | $table->timestamp('uploaded_at')->nullable(); |
||
| 35 | $table->timestamps(); |
||
| 36 | }); |
||
| 37 | } |
||
| 38 | |||
| 46 | } |