Closed bonevbb closed 6 years ago
Hello, I have a problem with migration for adding a new column to the database. When I try to add new column:
Schema::table('table_name', function (Blueprint $table) { $table->integer('column_name'); });
migration executed, but the column missing in the database. How can I resolve this?
@bonevbb you can do this in a few different way,
You might need to clear the cache with 'php artisan config:cache'
Marking as resolved as there has been no further feedback.
Hello, I have a problem with migration for adding a new column to the database. When I try to add new column:
Schema::table('table_name', function (Blueprint $table) { $table->integer('column_name'); });
migration executed, but the column missing in the database. How can I resolve this?