--- /dev/null
+<?php
+
+use yii\db\Migration;
+
+/**
+ * Handles the creation of table `{{%api_cron_buh_test}}`.
+ */
+class m240805_071431_create_api_cron_buh_test_table extends Migration
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function safeUp()
+ {
+ $this->createTable('{{%api_cron_buh_test}}', [
+ 'id' => $this->primaryKey(),
+ 'date' => $this->dateTime()->notNull(),
+ 'date_up' => $this->dateTime()->notNull(),
+ 'status' => $this->integer()->notNull()->defaultValue(0)->comment('Статус'),
+ 'json_post' => $this->text()->null()->comment('Тело запроса'),
+ 'request_id' => $this->string(36)->notNull()->comment('id запроса'),
+ ]);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function safeDown()
+ {
+ $this->dropTable('{{%api_cron_buh_test}}');
+ }
+}