This commit is contained in:
		
							parent
							
								
									7615ca7605
								
							
						
					
					
						commit
						e6827b7c62
					
				| 
						 | 
					@ -16,6 +16,7 @@ public function up(): void
 | 
				
			||||||
            $table->text("link_name");
 | 
					            $table->text("link_name");
 | 
				
			||||||
            $table->text("link");
 | 
					            $table->text("link");
 | 
				
			||||||
            $table->text("image");
 | 
					            $table->text("image");
 | 
				
			||||||
 | 
					            $table->timestamps();
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,6 +15,7 @@ public function up(): void
 | 
				
			||||||
            $table->id("id");
 | 
					            $table->id("id");
 | 
				
			||||||
            $table->text("weekday_name");
 | 
					            $table->text("weekday_name");
 | 
				
			||||||
            $table->date("current_date");
 | 
					            $table->date("current_date");
 | 
				
			||||||
 | 
					            $table->timestamps();
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,6 +14,7 @@ public function up(): void
 | 
				
			||||||
        Schema::create('games', function (Blueprint $table) {
 | 
					        Schema::create('games', function (Blueprint $table) {
 | 
				
			||||||
            $table->id("id");
 | 
					            $table->id("id");
 | 
				
			||||||
            $table->text("name");
 | 
					            $table->text("name");
 | 
				
			||||||
 | 
					            $table->timestamps();
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,6 +20,7 @@ public function up(): void
 | 
				
			||||||
                table: "games", column: "id", indexName: "constraint_game_id"
 | 
					                table: "games", column: "id", indexName: "constraint_game_id"
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
            $table->text("stream_time");
 | 
					            $table->text("stream_time");
 | 
				
			||||||
 | 
					            $table->timestamps();
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,28 @@
 | 
				
			||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					use Illuminate\Database\Migrations\Migration;
 | 
				
			||||||
 | 
					use Illuminate\Database\Schema\Blueprint;
 | 
				
			||||||
 | 
					use Illuminate\Support\Facades\Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					return new class extends Migration
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Run the migrations.
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    public function up(): void
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        Schema::create('basya_phrases', function (Blueprint $table) {
 | 
				
			||||||
 | 
					            $table->id();
 | 
				
			||||||
 | 
					            $table->string('phrase', 255);
 | 
				
			||||||
 | 
					            $table->timestamps();
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Reverse the migrations.
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    public function down(): void
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        Schema::dropIfExists('basya_phrases');
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
		Loading…
	
		Reference in New Issue