Conditions | 5 |
Paths | 4 |
Total Lines | 27 |
Lines | 18 |
Ratio | 66.67 % |
Changes | 0 |
1 | <?php |
||
48 | public function migrate() |
||
49 | { |
||
50 | $this->msg( 'Remove left over Laravel user address records', 0 ); |
||
51 | |||
52 | View Code Duplication | if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_address' ) ) |
|
53 | { |
||
54 | $this->execute( $this->sql['address'] ); |
||
55 | $this->status( 'done' ); |
||
56 | } |
||
57 | else |
||
58 | { |
||
59 | $this->status( 'OK' ); |
||
60 | } |
||
61 | |||
62 | |||
63 | $this->msg( 'Remove left over Laravel user list records', 0 ); |
||
64 | |||
65 | View Code Duplication | if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_list' ) ) |
|
66 | { |
||
67 | $this->execute( $this->sql['list'] ); |
||
68 | $this->status( 'done' ); |
||
69 | } |
||
70 | else |
||
71 | { |
||
72 | $this->status( 'OK' ); |
||
73 | } |
||
74 | } |
||
75 | } |
||
76 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.