Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('campaigns', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->string('name'); |
||
19 | $table->text('description'); |
||
20 | $table->string('picture_url'); |
||
21 | $table->unsignedInteger('target_amount')->comment('Target ammount in cents'); |
||
22 | $table->string('currency', 3); |
||
23 | $table->date('started_at'); |
||
24 | $table->date('finished_at'); |
||
25 | $table->integer('active_status'); |
||
26 | $table->timestamps(); |
||
27 | $table->softDeletes(); |
||
28 | }); |
||
41 |