Inpsyde\MultilingualPress\Database\Table\LanguagesTable::schema PHP Method

schema() public method

Returns the table schema.
Since: 3.0.0
public schema ( ) : string[]
return string[] An array with fields as keys and the according SQL definitions as values.
    public function schema()
    {
        return ['ID' => 'bigint(20) unsigned NOT NULL auto_increment', 'english_name' => 'tinytext', 'native_name' => 'tinytext', 'custom_name' => 'tinytext', 'is_rtl' => 'tinyint(1) unsigned DEFAULT 0', 'iso_639_1' => 'varchar(20)', 'iso_639_2' => 'varchar(20)', 'wp_locale' => 'tinytext', 'http_name' => 'varchar(20)', 'priority' => 'tinyint(1) unsigned DEFAULT 10'];
    }