public function safeUp()
{
$this->createTable($this->tableName, [
'id' => $this->primaryKey()->notNull(),
'title' => $this->string(256)->comment('Заголовок'),
'machine_name' => $this->string(256)->notNull()->unique()
->comment('Машинное имя для обращения к записи из кода приложения (сайта)'),
'body' => $this->text()->comment('Основной блок для информации о контакте'),
'link' => $this->text()->comment('Адрес ссылки'),
'phone1' => $this->string(256)->comment('Телефон №1'),
'phone2' => $this->string(256)->comment('Телефон №2'),
'phone3' => $this->string(256)->comment('Телефон №3'),
'phone4' => $this->string(256)->comment('Телефон №4'),
'phone5' => $this->string(256)->comment('Телефон №5'),
],
"COMMENT 'Контактные данные'"
);
}