- Timestamp:
- 02/24/21 21:58:42 (4 years ago)
- Branches:
- master
- Children:
- ff9da8b
- Parents:
- 0c07a90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/migrations/2019_10_12_000000_create_users_table.php
r0c07a90 rf457265 24 24 $table->string('country_code'); 25 25 $table->string('mobile_number')->unique(); 26 $table->integer('company_id')->unsigned()->nullable(); 27 $table->foreign("company_id")->references("id")->on("companies"); 26 28 $table->integer('role_id')->unsigned(); 27 29 $table->foreign("role_id")->references("id")->on("roles");
Note:
See TracChangeset
for help on using the changeset viewer.