This commit is contained in:
Vedde
2020-06-29 12:54:56 +02:00
35 changed files with 658 additions and 86 deletions
@@ -13,9 +13,14 @@ class CreateContact extends Migration
*/
public function up()
{
Schema::create('contact', function (Blueprint $table) {
Schema::create('contacts', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('name_first', 255);
$table->string('name_last', 255);
$table->string('email', 255);
$table->integer('phone');
//$table->unique('email');
});
}