• File: AddContextIndexToStrings.php
  • Full Path: /home/lef/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/AddContextIndexToStrings.php
  • File size: 295 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace WPML\Upgrade\Commands;

class AddContextIndexToStrings extends AddIndexToTable {

	protected function get_table() {
		return 'icl_strings';
	}

	protected function get_index() {
		return 'context';
	}

	protected function get_index_definition() {
		return '( `context` )';
	}
}