Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function up() |
||
16 | { |
||
17 | $this->getSchema()->create('sessions', function($table) { |
||
18 | $table->string('sess_id', 128)->index()->primary() ; |
||
19 | $table->text('sess_data'); |
||
20 | $table->string('sess_lifetime', 16); // shutout to laravel, if i make it like "integer" it automaticlly add "primary" key for it, hate this!!! |
||
21 | $table->string('sess_time', 16); |
||
22 | $table->timestamps(); |
||
23 | }); |
||
24 | parent::up(); |
||
25 | } |
||
45 | } |