| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentForm\App\Databases; |
| 4 |
|
| 5 |
use FluentForm\App\Databases\Migrations\FormAnalytics; |
| 6 |
use FluentForm\App\Databases\Migrations\FormLogs; |
| 7 |
use FluentForm\App\Databases\Migrations\Forms; |
| 8 |
use FluentForm\App\Databases\Migrations\FormMeta; |
| 9 |
use FluentForm\App\Databases\Migrations\FormSubmissionDetails; |
| 10 |
use FluentForm\App\Databases\Migrations\FormSubmissions; |
| 11 |
use FluentForm\App\Databases\Migrations\FormSubmissionMeta; |
| 12 |
use FluentForm\App\Databases\Migrations\ScheduledActions; |
| 13 |
use FluentForm\App\Modules\Form\Form; |
| 14 |
|
| 15 |
class DatabaseMigrator |
| 16 |
{ |
| 17 |
public static function run() |
| 18 |
{ |
| 19 |
Forms::migrate(); |
| 20 |
FormMeta::migrate(); |
| 21 |
FormSubmissions::migrate(true); |
| 22 |
FormSubmissionMeta::migrate(); |
| 23 |
FormAnalytics::migrate(); |
| 24 |
FormSubmissionDetails::migrate(); |
| 25 |
FormLogs::migrate(); |
| 26 |
ScheduledActions::migrate(); |
| 27 |
} |
| 28 |
} |
| 29 |
|