Reverse the migrations.

@return void
502351
public function down()
    {
        Schema::table('page_versions', function (Blueprint $table) {
            $table->renameColumn('created_at', 'edited_time');
            $table->renameColumn('created_by', 'edited_by');
        });

        Schema::table('asset_versions', function (Blueprint $table) {
            $table->renameColumn('created_at', 'edited_at');
            $table->renameColumn('created_by', 'edited_by');
        });

        Schema::table('assets', function (Blueprint $table) {
            $table->renameColumn('created_at', 'uploaded_time');
            $table->renameColumn('created_by', 'uploaded_by');
        });

        Schema::table('pages', function (Blueprint $table) {
            $table->renameColumn('created_at', 'created_time');
        });
    }
1352560
public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('name');
        });

        $controller = DB::table('admin_controllers')->select('id')->where('controller', '=', 'account')->first();
        DB::table('admin_actions')->where('controller_id', '=', $controller->id)->where('action', '=', 'name')->delete();
    }
912177
public function down()
    {
        Schema::drop('mediables');

        Media::all()->each(function ($media) {
            $media->delete();
        });

        Schema::drop('media');
    }
1227517
public function down()
    {
        Schema::dropIfExists('wink_tags');
        Schema::dropIfExists('wink_posts_tags');
        Schema::dropIfExists('wink_authors');
        Schema::dropIfExists('wink_posts');
        Schema::dropIfExists('wink_pages');
    }
586915
public function down()
    {
        Schema::dropIfExists('users');
        Schema::create('users', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name');
            $table->string('email')->unique();
            $table->string('password');
            $table->rememberToken();
            $table->timestamps();
        });
    }
857662
public function down()
    {
        Schema::table(
            'contents',
            function (Blueprint $table) {
                $table->removeColumn('type');
                $table->removeColumn('published');
            }
        );

        Schema::table(
            'revisions',
            function (Blueprint $table) {
                $table->removeColumn('published');
            }
        );
    }
29695
public function down()
    {
        Schema::drop('sites');
        Schema::drop('asset_site');
        Schema::drop('person_site');

        Schema::table('pages', function (Blueprint $table) {
            $table->dropColumn(Page::ATTR_SITE);
        });

        Schema::table('groups', function (Blueprint $table) {
            $table->dropColumn(Group::ATTR_SITE);
        });

        Schema::table('tags', function (Blueprint $table) {
            $table->dropColumn(Group::ATTR_SITE);
        });

        Schema::table('page_urls', function (Blueprint $table) {
            $table->dropColumn(Page::ATTR_SITE);
            $table->dropUnique('page_urls_site_id_location');
        });
    }
1024308
public function down()
    {
        Schema::drop('ab_experiments');
        Schema::drop('ab_events');
        Schema::drop('ab_instance');
        Schema::drop('ab_goal');

        \DB::connection()->getPdo()->exec("delete from migrations where migration = '2015_08_15_000001_create_ab_tables'");
        return true;
    }
257701
public function down()
    {

        Schema::table('group_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('permission_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('affiliation_user', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('affiliation_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });
    }
749385
public function down()
    {
        Schema::table('ticketit', function (Blueprint $table) {
            $table->dropIndex('ticketit_subject_index');
            $table->dropIndex('ticketit_status_id_index');
            $table->dropIndex('ticketit_priority_id_index');
            $table->dropIndex('ticketit_user_id_index');
            $table->dropIndex('ticketit_agent_id_index');
            $table->dropIndex('ticketit_category_id_index');
            $table->dropIndex('ticketit_completed_at_index');
        });

        Schema::table('ticketit_comments', function (Blueprint $table) {
            $table->dropIndex('ticketit_comments_user_id_index');
            $table->dropIndex('ticketit_comments_ticket_id_index');
        });

        Schema::table('ticketit_settings', function (Blueprint $table) {
            $table->dropIndex('ticketit_settings_lang_index');
            $table->dropIndex('ticketit_settings_slug_index');
        });
    }
192753
public function down()
    {
        Schema::table('content', function (Blueprint $table) {
            $table->string('identifier', 50)->nullable()->change();
            $table->dropIndex(['identifier']);
        });
    }
158723
public function down()
    {
        Schema::rename('images', 'imageables');

        Schema::table('imageables', function (Blueprint $table) {
            $table->renameColumn('resource_id', 'imageable_id');
            $table->renameColumn('resource_model', 'imageable_type');
            $table->renameColumn('original_image', 'file');
            $table->dropColumn('retina_factor');
            $table->dropColumn('image_type');
            $table->integer('orientation')->after('original_image');
        });
    }
904804
public function down()
    {
        Schema::table('product_options', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
        });

        Schema::table('product_images', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
        });

        Schema::table('product_images', function (Blueprint $table) {
            $table->dropColumn(array('uid'));
        });
    }
922402
public function down()
	{
        if(Schema::hasTable('hlogeon_scms_pages')){
            Schema::table('hlogeon_scms_pages', function(Blueprint $table){
                $table->dropColumn('reading_time');
                $table->dropColumn('user_id');
                $table->dropColumn('seo_title');
                $table->dropColumn('seo_description');
                $table->dropColumn('seo_keywords');
                DB::statement('ALTER TABLE hlogeon_scms_pages MODIFY COLUMN sidebar text');
            });
        }
	}
1373120
public function down()
    {
        Schema::table('components', function (Blueprint $table) {
            $table->integer('user_id')->unsigned()->nullable()->default(null)->after('group_id');
        });
    }
273192
public function down()
    {
        Schema::table('acl_users_status', function (Blueprint $table) {

            $slug = implode('_', ['acl_users_status', 'user_id', 'foreign']);
            $table->dropForeign($slug);

        });

        Schema::dropIfExists('acl_users_status');
    }
188489
public function down()
    {
        if (Schema::hasTable('lovata_buddies_users') && Schema::hasColumn('lovata_buddies_users', 'active_currency_code')) {
            Schema::table('lovata_buddies_users', function (Blueprint $obTable) {
                $obTable->dropColumn(['active_currency_code']);
            });
        }

        if (Schema::hasTable('users') && Schema::hasColumn('users', 'active_currency_code')) {
            Schema::table('users', function (Blueprint $obTable) {
                $obTable->dropColumn(['active_currency_code']);
            });
        }
    }