PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Infrastructure / WP / InstallActions / ActivationDatabaseHook.php
ameliabooking / src / Infrastructure / WP / InstallActions Last commit date
DB 1 year ago ActivationDatabaseHook.php 2 years ago ActivationMultisite.php 7 years ago ActivationNewSiteMultisite.php 7 years ago ActivationRolesHook.php 7 years ago ActivationSettingsHook.php 1 year ago AutoUpdateHook.php 3 years ago DeleteDatabaseHook.php 2 years ago DeletionMultisite.php 5 years ago
ActivationDatabaseHook.php
197 lines
1 <?php
2 /**
3 * Database hook for activation
4 */
5
6 namespace AmeliaBooking\Infrastructure\WP\InstallActions;
7
8 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesCustomersServicesTable;
9 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesCustomersTable;
10 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesLocationsTable;
11 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesProvidersTable;
12 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesTable;
13 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesTable;
14 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ResourcesTable;
15 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ResourcesToEntitiesTable;
16 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ServicesTable;
17 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\CategoriesTable;
18 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ExtrasTable;
19 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ServicesViewsTable;
20 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\AppointmentsTable;
21 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsTable;
22 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsToEventsPeriodsTable;
23 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingToEventsTicketsTable;
24 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsToExtrasTable;
25 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsPeriodsTable;
26 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsProvidersTable;
27 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTable;
28 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTagsTable;
29 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTicketsTable;
30 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Cache\CacheTable;
31 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToEventsTable;
32 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToPackagesTable;
33 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsEventsTable;
34 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsOptionsTable;
35 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsServicesTable;
36 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsTable;
37 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Gallery\GalleriesTable;
38 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsTable;
39 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToServicesTable;
40 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Location\LocationsTable;
41 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Location\LocationsViewsTable;
42 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsLogTable;
43 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsSMSHistoryTable;
44 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsTable;
45 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsTableInsertRows;
46 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsToEntitiesTable;
47 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Payment\PaymentsTable;
48 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Tax\TaxesTable;
49 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Tax\TaxesToEntitiesTable;
50 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersGoogleCalendarTable;
51 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersLocationTable;
52 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersOutlookCalendarTable;
53 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodLocationTable;
54 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodServiceTable;
55 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodTable;
56 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodLocationTable;
57 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodServiceTable;
58 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodTable;
59 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayTable;
60 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersViewsTable;
61 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\UsersTable;
62 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersServiceTable;
63 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersWeekDayTable;
64 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersTimeOutTable;
65 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersDayOffTable;
66
67 /**
68 * Class ActivationHook
69 *
70 * @package AmeliaBooking\Infrastructure\WP\InstallActions
71 */
72 class ActivationDatabaseHook
73 {
74
75 /**
76 * Initialize the plugin
77 */
78 public static function init()
79 {
80 UsersTable::init();
81
82 GalleriesTable::init();
83
84 CouponsTable::init();
85
86 LocationsTable::init();
87
88 NotificationsTable::init();
89
90 NotificationsTableInsertRows::init();
91
92 ProvidersDayOffTable::init();
93
94 ProvidersLocationTable::init();
95
96 ProvidersWeekDayTable::init();
97
98 ProvidersSpecialDayTable::init();
99
100 ProvidersTimeOutTable::init();
101
102 ProvidersPeriodTable::init();
103
104 ProvidersSpecialDayPeriodTable::init();
105
106 ProvidersViewsTable::init();
107
108 ProvidersGoogleCalendarTable::init();
109
110 ProvidersOutlookCalendarTable::init();
111
112 CategoriesTable::init();
113
114 ServicesTable::init();
115
116 ProvidersPeriodServiceTable::init();
117
118 ProvidersPeriodLocationTable::init();
119
120 ProvidersSpecialDayPeriodServiceTable::init();
121
122 ProvidersSpecialDayPeriodLocationTable::init();
123
124 ServicesViewsTable::init();
125
126 CouponsToServicesTable::init();
127
128 ProvidersServiceTable::init();
129
130 ExtrasTable::init();
131
132 PackagesTable::init();
133
134 PackagesServicesTable::init();
135
136 PackagesServicesProvidersTable::init();
137
138 PackagesServicesLocationsTable::init();
139
140 PackagesCustomersTable::init();
141
142 PackagesCustomersServicesTable::init();
143
144 ResourcesTable::init();
145
146 ResourcesToEntitiesTable::init();
147
148 AppointmentsTable::init();
149
150 EventsTable::init();
151
152 EventsTagsTable::init();
153
154 EventsTicketsTable::init();
155
156 EventsPeriodsTable::init();
157
158 EventsProvidersTable::init();
159
160 CouponsToEventsTable::init();
161
162 CouponsToPackagesTable::init();
163
164 CustomerBookingsTable::init();
165
166 CustomerBookingsToExtrasTable::init();
167
168 CustomerBookingsToEventsPeriodsTable::init();
169
170 CustomerBookingToEventsTicketsTable::init();
171
172 PaymentsTable::init();
173
174 LocationsViewsTable::init();
175
176 NotificationsToEntitiesTable::init();
177
178 NotificationsLogTable::init();
179
180 NotificationsSMSHistoryTable::init();
181
182 CustomFieldsTable::init();
183
184 CustomFieldsOptionsTable::init();
185
186 CustomFieldsServicesTable::init();
187
188 CustomFieldsEventsTable::init();
189
190 TaxesTable::init();
191
192 TaxesToEntitiesTable::init();
193
194 CacheTable::init();
195 }
196 }
197