| @@ 67-73 (lines=7) @@ | ||
| 64 | * |
|
| 65 | * @return $this |
|
| 66 | */ |
|
| 67 | public function auto($name = null, $initial = null, $size = null) |
|
| 68 | { |
|
| 69 | $this->strategy = 'AUTO'; |
|
| 70 | $this->customize($name, $initial, $size); |
|
| 71 | ||
| 72 | return $this; |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * Tells Doctrine to use a database sequence for ID generation. This strategy does currently not provide full |
|
| @@ 85-91 (lines=7) @@ | ||
| 82 | * |
|
| 83 | * @return $this |
|
| 84 | */ |
|
| 85 | public function sequence($name = null, $initial = null, $size = null) |
|
| 86 | { |
|
| 87 | $this->strategy = 'SEQUENCE'; |
|
| 88 | $this->customize($name, $initial, $size); |
|
| 89 | ||
| 90 | return $this; |
|
| 91 | } |
|
| 92 | ||
| 93 | /** |
|
| 94 | * Tells Doctrine to use special identity columns in the database that generate a value on insertion of a row. |
|