@@ -57,25 +57,25 @@ |
||
57 | 57 | */ |
58 | 58 | public function migrate() |
59 | 59 | { |
60 | - $this->msg( sprintf( 'Add new type columns for Laravel' ), 0 ); |
|
61 | - $this->status( '' ); |
|
60 | + $this->msg(sprintf('Add new type columns for Laravel'), 0); |
|
61 | + $this->status(''); |
|
62 | 62 | |
63 | - foreach( $this->tables as $rname => $list ) { |
|
64 | - $this->addColumn( $rname, $list ); |
|
63 | + foreach ($this->tables as $rname => $list) { |
|
64 | + $this->addColumn($rname, $list); |
|
65 | 65 | } |
66 | 66 | |
67 | - $this->msg( sprintf( 'Drop old unique indexes for Laravel' ), 0 ); |
|
68 | - $this->status( '' ); |
|
67 | + $this->msg(sprintf('Drop old unique indexes for Laravel'), 0); |
|
68 | + $this->status(''); |
|
69 | 69 | |
70 | - foreach( $this->constraints as $rname => $list ) { |
|
71 | - $this->dropIndex( $rname, $list ); |
|
70 | + foreach ($this->constraints as $rname => $list) { |
|
71 | + $this->dropIndex($rname, $list); |
|
72 | 72 | } |
73 | 73 | |
74 | - $this->msg( sprintf( 'Migrate typeid to type for Laravel' ), 0 ); |
|
75 | - $this->status( '' ); |
|
74 | + $this->msg(sprintf('Migrate typeid to type for Laravel'), 0); |
|
75 | + $this->status(''); |
|
76 | 76 | |
77 | - foreach( $this->migrations as $rname => $list ) { |
|
78 | - $this->migrateData( $rname, $list ); |
|
77 | + foreach ($this->migrations as $rname => $list) { |
|
78 | + $this->migrateData($rname, $list); |
|
79 | 79 | } |
80 | 80 | } |
81 | 81 | } |
82 | 82 | \ No newline at end of file |