create("passwords", function (Blueprint $table) { $table->id(); $table->foreignId("group_id")->constrained("groups"); $table->string('password'); $table->rememberToken(); $table->timestamps(); }); /* Syntex to create table in database $table->string("texts"); $table => valuable; string => datatype; ("texts") => name for the row in the database */