PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.5.4
JetFormBuilder — Dynamic Blocks Form Builder v3.6.5.4
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
jetformbuilder / modules / user-journey / models / user-journey-model.php

user-journey-model.php in JetFormBuilder — Dynamic Blocks Form Builder 3.6.5.4, at modules/user-journey/models/user-journey-model.php

41 lines 847 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace JFB_Modules\User_Journey\Models;
4
5 use Jet_Form_Builder\Db_Queries\Base_Db_Model;
6
7 // If this file is called directly, abort.
8 if ( ! defined( 'WPINC' ) ) {
9 die;
10 }
11
12 class User_Journey_Model extends Base_Db_Model {
13
14 public static function table_name(): string {
15 return 'user_journey';
16 }
17
18 public static function schema(): array {
19 return array(
20 'id' => 'bigint(20) NOT NULL AUTO_INCREMENT',
21 'record_id' => 'bigint(20) UNSIGNED NOT NULL',
22 'journey_step' => 'int(11) NOT NULL',
23 'journey_url' => 'text NOT NULL',
24 'journey_query' => 'text',
25 'timestamp' => 'bigint(20) NOT NULL',
26 );
27 }
28
29 public static function schema_keys(): array {
30 return array(
31 'id' => 'primary key',
32 'record_id' => 'index',
33 );
34 }
35
36 public function related_migrations(): array {
37 return array();
38 }
39
40 }
41