| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class AddTableCmsEmailQueues extends Migration |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Run the migrations. |
||
| 10 | * |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('cms_email_queues', function (Blueprint $table) { |
||
| 16 | $table->increments('id'); |
||
| 17 | |||
| 18 | $table->dateTime('send_at')->nullable(); |
||
| 19 | $table->string('email_recipient')->nullable(); |
||
| 20 | $table->string('email_from_email')->nullable(); |
||
| 21 | $table->string('email_from_name')->nullable(); |
||
| 22 | $table->string('email_cc_email')->nullable(); |
||
| 23 | $table->string('email_subject')->nullable(); |
||
| 24 | $table->text('email_content')->nullable(); |
||
| 25 | $table->text('email_attachments')->nullable(); |
||
| 26 | $table->boolean('is_sent')->nullable(); |
||
| 27 | |||
| 28 | $table->timestamps(); |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Reverse the migrations. |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function down() |
||
| 40 | } |
||
| 41 | } |
||
| 42 |