How did you fix this? Having the same issue :/
Aug 19, 2015
3
Level 1
SQLite migration failing to add deleted_at (soft delete column)
My php artisan migrate and :rollback work as expected. I'm using the following migration script on Laravel 4.
Schema::table('orders', function(Blueprint $table) {
$table->softDeletes();
});
}
When I run phpunit I get the following error on all of my tests:
Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1 no such column: orders.deleted_at (SQL: select * from "orders" where "orders"."deleted_at" is null)
I'm using sqlite for my testing database in memory.
Any help would be greatly appreciated!
Please or to participate in this conversation.