array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'vendor_id' => 'BIGINT', 'title' => 'VARCHAR', 'description' => 'TEXT', 'default_sections' => 'LONGTEXT', 'is_public' => 'TINYINT', 'status' => 'VARCHAR', 'created_at' => 'DATETIME', 'updated_at' => 'DATETIME', ), 'indexes' => array( 'vendor_id' => array( 'vendor_id' ), 'status' => array( 'status' ), ), ), '2mclb_rider_instances' => array( 'primary_key' => 'id', 'post_type_link' => 'hp_vendor', 'expected_columns' => array( 'id' => 'BIGINT', 'template_id' => 'BIGINT', 'vendor_id' => 'BIGINT', 'title' => 'VARCHAR', 'event_date' => 'DATE', 'event_name' => 'VARCHAR', 'venue_profile_id' => 'BIGINT', 'status' => 'VARCHAR', 'stage_plot_data' => 'LONGTEXT', 'channel_list_data' => 'LONGTEXT', 'equipment_data' => 'LONGTEXT', 'timeline_data' => 'LONGTEXT', 'checklist_data' => 'LONGTEXT', 'access_token' => 'VARCHAR', 'token_expires_at' => 'DATETIME', 'locked_at' => 'DATETIME', 'locked_by' => 'BIGINT', 'created_at' => 'DATETIME', 'updated_at' => 'DATETIME', ), 'indexes' => array( 'vendor_id' => array( 'vendor_id' ), 'template_id' => array( 'template_id' ), 'status' => array( 'status' ), 'access_token' => array( 'access_token' ), ), ), '2mclb_collaborators' => array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'instance_id' => 'BIGINT', 'user_id' => 'BIGINT', 'email' => 'VARCHAR', 'display_name' => 'VARCHAR', 'role' => 'VARCHAR', 'permissions' => 'LONGTEXT', 'invite_token' => 'VARCHAR', 'token_expires_at' => 'DATETIME', 'status' => 'VARCHAR', 'last_seen_at' => 'DATETIME', 'created_at' => 'DATETIME', ), 'indexes' => array( 'instance_id' => array( 'instance_id' ), 'user_id' => array( 'user_id' ), 'invite_token' => array( 'invite_token' ), 'email' => array( 'email' ), ), ), '2mclb_confirmations' => array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'instance_id' => 'BIGINT', 'section' => 'VARCHAR', 'confirmed_by' => 'BIGINT', 'confirmed_role' => 'VARCHAR', 'status' => 'VARCHAR', 'note' => 'TEXT', 'confirmed_at' => 'DATETIME', ), 'indexes' => array( 'instance_section' => array( 'instance_id', 'section' ), 'confirmed_by' => array( 'confirmed_by' ), ), ), '2mclb_comments' => array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'instance_id' => 'BIGINT', 'section' => 'VARCHAR', 'parent_id' => 'BIGINT', 'author_id' => 'BIGINT', 'author_name' => 'VARCHAR', 'author_role' => 'VARCHAR', 'content' => 'TEXT', 'is_resolved' => 'TINYINT', 'created_at' => 'DATETIME', ), 'indexes' => array( 'instance_section' => array( 'instance_id', 'section' ), 'parent_id' => array( 'parent_id' ), ), ), '2mclb_rider_history' => array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'instance_id' => 'BIGINT', 'action' => 'VARCHAR', 'section' => 'VARCHAR', 'actor_id' => 'BIGINT', 'actor_name' => 'VARCHAR', 'actor_role' => 'VARCHAR', 'snapshot' => 'LONGTEXT', 'note' => 'TEXT', 'created_at' => 'DATETIME', ), 'indexes' => array( 'instance_id' => array( 'instance_id' ), 'instance_section' => array( 'instance_id', 'section' ), ), ), '2mclb_venue_profiles' => array( 'primary_key' => 'id', 'post_type_link' => null, 'expected_columns' => array( 'id' => 'BIGINT', 'vendor_id' => 'BIGINT', 'buyer_id' => 'BIGINT', 'name' => 'VARCHAR', 'address' => 'VARCHAR', 'stage_width' => 'DECIMAL', 'stage_depth' => 'DECIMAL', 'ceiling_height' => 'DECIMAL', 'power_capacity_amps' => 'INT', 'power_outlets_count' => 'INT', 'has_pa_system' => 'TINYINT', 'has_monitors' => 'TINYINT', 'has_lighting' => 'TINYINT', 'has_backline' => 'TINYINT', 'load_in_info' => 'TEXT', 'parking_info' => 'TEXT', 'contact_name' => 'VARCHAR', 'contact_phone' => 'VARCHAR', 'contact_email' => 'VARCHAR', 'notes' => 'TEXT', 'extra_specs' => 'LONGTEXT', 'created_at' => 'DATETIME', 'updated_at' => 'DATETIME', ), 'indexes' => array( 'vendor_id' => array( 'vendor_id' ), 'buyer_id' => array( 'buyer_id' ), ), ), ); foreach ( $tables as $table_name => $meta ) { $registry->register( '2meet-collab', array_merge( array( 'table_name' => $table_name ), $meta ) ); } } }