Ignore:
Timestamp:
02/24/21 21:58:42 (4 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
master
Children:
ff9da8b
Parents:
0c07a90
Message:

ADD technoweek offer, companies

Location:
database/migrations
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • database/migrations/2019_10_12_000000_create_users_table.php

    r0c07a90 rf457265  
    2424            $table->string('country_code');
    2525            $table->string('mobile_number')->unique();
     26            $table->integer('company_id')->unsigned()->nullable();
     27            $table->foreign("company_id")->references("id")->on("companies");
    2628            $table->integer('role_id')->unsigned();
    2729            $table->foreign("role_id")->references("id")->on("roles");
  • database/migrations/2019_10_13_161454_create_user_profiles.php

    r0c07a90 rf457265  
    1717            $table->increments('id');
    1818            $table->integer('user_id')->unsigned();
     19            $table->boolean('is_company_profile')->default(false);
    1920            $table->string('profile_link')->unique();
    2021            $table->string('short_bio')->nullable();
Note: See TracChangeset for help on using the changeset viewer.