los proyectos ya no tienen imaganes que subir, lo debo hacer externamente
This commit is contained in:
@@ -27,19 +27,10 @@ class CreateBaseDb extends Migration
|
||||
$table->longText('md');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::create('projects_photos', function(Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->bigInteger('project_id')->unsigned();
|
||||
$table->foreign('project_id')->references('id')->on('projects');
|
||||
$table->string('filename');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('projects_photos');
|
||||
Schema::dropIfExists('projects');
|
||||
Schema::dropIfExists('now');
|
||||
Schema::dropIfExists('posts');
|
||||
|
||||
Reference in New Issue
Block a user