| 1 | <?php |
||
| 16 | class MigrationHelper |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param string $driverName |
||
| 20 | * |
||
| 21 | * @throws RuntimeException |
||
| 22 | * @return null|string |
||
| 23 | * |
||
| 24 | */ |
||
| 25 | public static function resolveTableOptions($driverName) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param $driverName |
||
| 42 | * |
||
| 43 | * @throws RuntimeException |
||
| 44 | * @return string |
||
| 45 | * |
||
| 46 | */ |
||
| 47 | public static function resolveDbType($driverName) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param string $driverName |
||
| 65 | * |
||
| 66 | * @throws RuntimeException |
||
| 67 | * @return bool |
||
| 68 | * |
||
| 69 | */ |
||
| 70 | public static function isMicrosoftSQLServer($driverName) |
||
| 74 | |||
| 75 | public static function getBooleanValue($driverName,$value=false) |
||
| 82 | } |
||
| 83 |