Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('shedule_emails', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->timestamp('date'); |
||
19 | $table->integer('email_id')->unsigned(); |
||
20 | $table->foreign('email_id')->references('id')->on('emails'); |
||
21 | |||
22 | $table->integer('mode_id')->unsigned(); |
||
23 | $table->foreign('mode_id')->references('id')->on('mode_post_emails'); |
||
24 | |||
25 | $table->integer('status_id')->unsigned(); |
||
26 | $table->foreign('status_id')->references('id')->on('statuses')->comment('status post email'); |
||
27 | $table->timestamps(); |
||
28 | $table->softDeletes(); |
||
29 | }); |
||
42 |