addColumn('{{%accounts}}', 'rules_agreement_version', $this->smallInteger()->unsigned()->after('status')); } public function safeDown(): void { $this->dropColumn('{{%accounts}}', 'rules_agreement_version'); } }