get_sql_safe_name()}` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `attribute` varchar(255) NOT NULL, `source` varchar(100) NOT NULL, `category_condition_type` varchar(10) NOT NULL, `categories` text NOT NULL, PRIMARY KEY `id` (`id`) ) {$this->get_collation()}; "; } /** * Get the un-prefixed (raw) table name. * * @return string */ public static function get_raw_name(): string { return 'attribute_mapping_rules'; } /** * Get the columns for the table. * * @return array */ public function get_columns(): array { return [ 'id' => true, 'attribute' => true, 'source' => true, 'category_condition_type' => true, 'categories' => true, ]; } }