@@ -27,27 +27,27 @@ |
||
| 27 | 27 | * @var array |
| 28 | 28 | **/ |
| 29 | 29 | protected $selects = [ |
| 30 | - 'column_name as Field', |
|
| 31 | - 'column_type as Type', |
|
| 32 | - 'is_nullable as null', |
|
| 33 | - 'column_key as Key', |
|
| 34 | - 'column_default as Default', |
|
| 35 | - 'extra as Extra', |
|
| 36 | - 'data_type as Data_Type', |
|
| 37 | - ]; |
|
| 30 | + 'column_name as Field', |
|
| 31 | + 'column_type as Type', |
|
| 32 | + 'is_nullable as null', |
|
| 33 | + 'column_key as Key', |
|
| 34 | + 'column_default as Default', |
|
| 35 | + 'extra as Extra', |
|
| 36 | + 'data_type as Data_Type', |
|
| 37 | + ]; |
|
| 38 | 38 | /** |
| 39 | 39 | * Select fields from constraints. |
| 40 | 40 | * |
| 41 | 41 | * @var array |
| 42 | 42 | **/ |
| 43 | 43 | protected $constraints = [ |
| 44 | - 'key_column_usage.table_name as Table', |
|
| 45 | - 'key_column_usage.column_name as Field', |
|
| 46 | - 'key_column_usage.referenced_table_name as ON', |
|
| 47 | - 'key_column_usage.referenced_column_name as References', |
|
| 48 | - 'REFERENTIAL_CONSTRAINTS.UPDATE_RULE as onUpdate', |
|
| 49 | - 'REFERENTIAL_CONSTRAINTS.DELETE_RULE as onDelete', |
|
| 50 | - ]; |
|
| 44 | + 'key_column_usage.table_name as Table', |
|
| 45 | + 'key_column_usage.column_name as Field', |
|
| 46 | + 'key_column_usage.referenced_table_name as ON', |
|
| 47 | + 'key_column_usage.referenced_column_name as References', |
|
| 48 | + 'REFERENTIAL_CONSTRAINTS.UPDATE_RULE as onUpdate', |
|
| 49 | + 'REFERENTIAL_CONSTRAINTS.DELETE_RULE as onDelete', |
|
| 50 | + ]; |
|
| 51 | 51 | |
| 52 | 52 | protected function getTables() |
| 53 | 53 | { |