Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user