1//You should be able to add data to your new fields in your new migration. I'm not sure if it's the best way to go, but I've seen something like this before:
2
3public function up()
4{
5 Schema::table('my_table', function (Blueprint $table) {
6 $table->string('my_column')->nullable();
7 });
8 $this->updateData();
9}
10
11private function updateData()
12{
13 $allCategories = Category::where('slug', null)->get();
14
15 foreach($allCategories as $singleCategory) {
16 $singleCategory->update([
17 'slug' => Category::makeSlug($singleCategory->name, $singleCategory->parent_id)
18 ]);
19 }
20}
1DB::statement("
2 CREATE TABLE `your_table` (
3 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
4 `status` tinyint(3) unsigned DEFAULT NULL,
5 PRIMARY KEY (`id`)
6 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
7");