1 | <?php |
||
9 | class OracleBuilder extends Builder |
||
10 | { |
||
11 | /** |
||
12 | * @var \Yajra\Oci8\Schema\OracleAutoIncrementHelper |
||
13 | */ |
||
14 | public $helper; |
||
15 | |||
16 | /** |
||
17 | * @param Connection $connection |
||
18 | */ |
||
19 | public function __construct(Connection $connection) |
||
25 | |||
26 | /** |
||
27 | * Create a new table on the schema. |
||
28 | * |
||
29 | * @param string $table |
||
30 | * @param Closure $callback |
||
31 | * @return \Illuminate\Database\Schema\Blueprint |
||
32 | */ |
||
33 | public function create($table, Closure $callback) |
||
45 | |||
46 | /** |
||
47 | * Create a new command set with a Closure. |
||
48 | * |
||
49 | * @param string $table |
||
50 | * @param Closure $callback |
||
51 | * @return \Illuminate\Database\Schema\Blueprint |
||
52 | */ |
||
53 | protected function createBlueprint($table, Closure $callback = null) |
||
60 | |||
61 | /** |
||
62 | * Drop a table from the schema. |
||
63 | * |
||
64 | * @param string $table |
||
65 | * @return \Illuminate\Database\Schema\Blueprint |
||
66 | */ |
||
67 | public function drop($table) |
||
72 | |||
73 | /** |
||
74 | * Indicate that the table should be dropped if it exists. |
||
75 | * |
||
76 | * @return \Illuminate\Support\Fluent |
||
77 | */ |
||
78 | public function dropIfExists($table) |
||
83 | } |
||
84 |