Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function up() |
||
16 | { |
||
17 | $this->getSchema()->create('feedback_posts', function($table) { |
||
18 | $table->increments('id'); |
||
19 | $table->string('name', 100); |
||
20 | $table->string('email'); |
||
21 | $table->text('message'); |
||
22 | $table->boolean('readed')->default(false); |
||
23 | $table->boolean('closed')->default(false); |
||
24 | $table->string('hash', 128); |
||
25 | $table->integer('user_id')->unsigned()->default(0); |
||
26 | $table->string('ip', 64)->default('127.0.0.1'); // ipv6 & ipv4 |
||
27 | $table->timestamps(); |
||
28 | }); |
||
29 | parent::up(); |
||
30 | } |
||
50 | } |