Conditions | 2 |
Paths | 2 |
Total Lines | 24 |
Code Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | if (config('database.connections.sqlsrv.driver') == 'sqlite') { |
||
17 | return; |
||
18 | } |
||
19 | |||
20 | Schema::create('employees', function (Blueprint $table) { |
||
21 | $table->increments('id'); |
||
22 | $table->string('full_name'); |
||
23 | $table->string('br_cpf'); |
||
24 | $table->string('email')->unique(); |
||
25 | $table->string('telephone_type'); |
||
26 | $table->string('telephone'); |
||
27 | $table->string('zip_code'); |
||
28 | $table->string('city'); |
||
29 | $table->string('state'); |
||
30 | $table->string('avenue'); |
||
31 | $table->bigInteger('number'); |
||
32 | $table->string('neighborhood'); |
||
33 | $table->string('complement'); |
||
34 | $table->string('password'); |
||
35 | $table->boolean('active'); |
||
36 | $table->rememberToken(); |
||
37 | $table->timestamps(); |
||
38 | }); |
||
55 |