los proyectos ya no tienen imaganes que subir, lo debo hacer externamente

This commit is contained in:
Daniel Cortés
2019-10-14 12:14:17 -03:00
parent 82973e7ca8
commit 01c7a4492b
4 changed files with 1 additions and 48 deletions

View File

@@ -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');