1 | <?php |
||
7 | class OracleBlueprint extends Blueprint |
||
8 | { |
||
9 | /** |
||
10 | * Database prefix variable |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $prefix; |
||
15 | |||
16 | /** |
||
17 | * Table comment |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | public $commentTable = null; |
||
22 | |||
23 | /** |
||
24 | * Column comments |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | public $commentColumn = []; |
||
29 | |||
30 | /** |
||
31 | * set table prefix settings |
||
32 | * |
||
33 | * @param string $prefix |
||
34 | */ |
||
35 | public function setTablePrefix($prefix = '') |
||
39 | |||
40 | /** |
||
41 | * Add creation and update timestampTz columns to the table. |
||
42 | * |
||
43 | * @return void |
||
44 | */ |
||
45 | public function timestampsTz() |
||
51 | |||
52 | /** |
||
53 | * Create a default index name for the table. |
||
54 | * |
||
55 | * @param string $type |
||
56 | * @param array $columns |
||
57 | * @return string |
||
58 | */ |
||
59 | protected function createIndexName($type, array $columns) |
||
66 | |||
67 | /** |
||
68 | * Set the column comment for an existing table |
||
69 | * |
||
70 | * @param string $column |
||
71 | * @param string $comment |
||
72 | */ |
||
73 | public function commentColumn($column, $comment) |
||
80 | |||
81 | /** |
||
82 | * Set the table comment for an existing table |
||
83 | * |
||
84 | * @param string $comment |
||
85 | */ |
||
86 | public function comment($comment) |
||
90 | } |
||
91 |