Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Database versioning, migration best practices.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 42% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -52% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -52% | 0% |
bashphp spark make:migration add_users_table
php<?php namespace App\Database\Migrations; use CodeIgniter\Database\Migration; class AddUsersTable extends Migration { public function up() { $this->forge->addField([ 'id' => [ 'type' => 'INT', 'constraint' => 11, 'unsigned' => true, 'auto_increment' => true ], 'email' => [ 'type' => 'VARCHAR', 'constraint' => 255, 'unique' => true ], 'created_at' => [ 'type' => 'DATETIME', 'null' => true ] ]); $this->forge->addKey('id', true); $this->forge->createTable('users'); } public function down() { $this->forge->dropTable('users'); } }
bashphp spark migrate php spark migrate:rollback
Other measured skills in the registry, with their headline benchmark lift.