| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | $this->info( 'Creating test schema', 'vv' ); |
||
| 17 | |||
| 18 | $this->db( 'db-test' )->table( 'mshop_test', function( \Aimeos\Upscheme\Schema\Table $table ) { |
||
| 19 | |||
| 20 | $table->engine = 'InnoDB'; |
||
| 21 | |||
| 22 | $table->id(); |
||
| 23 | $table->string( 'siteid' ); |
||
| 24 | $table->string( 'key', 32 ); |
||
| 25 | $table->string( 'value' ); |
||
| 26 | $table->meta(); |
||
| 27 | |||
| 28 | $table->index( ['key', 'siteid'], 'idx_mstes_key_sid' ); |
||
| 29 | } ); |
||
| 32 |