Fixed table nane for asset_logs in migration
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
public function up()
|
||||
{
|
||||
|
||||
Schema::table( 'action_logs', function ( Blueprint $table ) {
|
||||
Schema::table( 'asset_logs', function ( Blueprint $table ) {
|
||||
|
||||
$table->integer( 'thread_id', false, true );
|
||||
$table->index( 'thread_id' );
|
||||
@@ -30,7 +30,7 @@
|
||||
public function down()
|
||||
{
|
||||
|
||||
Schema::table( 'action_logs', function ( Blueprint $table ) {
|
||||
Schema::table( 'asset_logs', function ( Blueprint $table ) {
|
||||
|
||||
$table->dropIndex( 'thread_id' );
|
||||
$table->dropColumn( 'thread_id' );
|
||||
|
||||
Reference in New Issue
Block a user