Changeset 24a616f for database/migrations
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- Location:
- database/migrations
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
database/migrations/2021_09_27_171107_create_users_table.php
r194a359 r24a616f 23 23 $table->string('email')->unique(); 24 24 $table->string('mobile_number')->unique(); 25 $table->string('avatar')->nullable(); 25 26 $table->integer('role_id')->unsigned(); 26 27 $table->foreign("role_id")->references("id")->on("roles"); -
database/migrations/2021_09_29_121244_create_departments_table.php
r194a359 r24a616f 19 19 $table->string("name"); 20 20 $table->string("code"); 21 $table->string("location"); 21 22 $table->timestamps(); 22 23
Note:
See TracChangeset
for help on using the changeset viewer.