| 1 | <?php |
||
| 8 | abstract class Sqlite extends Model |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Get a schema builder instance. |
||
| 12 | * |
||
| 13 | * @return \Illuminate\Database\Schema\Builder |
||
| 14 | */ |
||
| 15 | public function schema() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Resolve a connection instance. |
||
| 22 | * |
||
| 23 | * @param string|null $connection |
||
| 24 | * @return \Illuminate\Database\Connection |
||
| 25 | */ |
||
| 26 | public static function resolveConnection($connection = null) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * createSchema. |
||
| 33 | * |
||
| 34 | * @param Blueprint $table |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | abstract protected function createSchema(Blueprint $table); |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Fire the given event for the model. |
||
| 41 | * |
||
| 42 | * @param string $event |
||
| 43 | * @param bool $halt |
||
| 44 | * @return mixed |
||
| 45 | */ |
||
| 46 | protected function fireModelEvent($event, $halt = true) |
||
| 61 | } |
||
| 62 |