Changeset f457265 for database/migrations
- Timestamp:
- 02/24/21 21:58:42 (4 years ago)
- Branches:
- master
- Children:
- ff9da8b
- Parents:
- 0c07a90
- Location:
- database/migrations
- Files:
-
- 1 added
- 2 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"); -
database/migrations/2019_10_13_161454_create_user_profiles.php
r0c07a90 rf457265 17 17 $table->increments('id'); 18 18 $table->integer('user_id')->unsigned(); 19 $table->boolean('is_company_profile')->default(false); 19 20 $table->string('profile_link')->unique(); 20 21 $table->string('short_bio')->nullable();
Note:
See TracChangeset
for help on using the changeset viewer.