first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace WPML\Upgrade\Commands;
|
||||
|
||||
class AddPrimaryKeyToLocaleMap extends AddPrimaryKeyToTable {
|
||||
|
||||
protected function get_table() {
|
||||
return 'icl_locale_map';
|
||||
}
|
||||
|
||||
protected function get_key_name() {
|
||||
return 'PRIMARY';
|
||||
}
|
||||
|
||||
protected function get_key_columns() {
|
||||
return [ 'code', 'locale' ];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user