profilers
3 years ago
rest-api
3 years ago
versions
3 years ago
migration-exception.php
3 years ago
migration-model.php
3 years ago
migrator.php
3 years ago
view-migrations.php
3 years ago
view-migrations.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Migrations; |
| 5 | |
| 6 | |
| 7 | use Jet_Form_Builder\Db_Queries\Views\View_Base; |
| 8 | |
| 9 | class View_Migrations extends View_Base { |
| 10 | |
| 11 | /** |
| 12 | * @return string |
| 13 | */ |
| 14 | public function table(): string { |
| 15 | return Migration_Model::table(); |
| 16 | } |
| 17 | |
| 18 | public function select_columns(): array { |
| 19 | return Migration_Model::schema_columns(); |
| 20 | } |
| 21 | |
| 22 | public function get_dependencies(): array { |
| 23 | return array( |
| 24 | new Migration_Model(), |
| 25 | ); |
| 26 | } |
| 27 | } |