public function run(): bool
	{
		$this->db->query('PRAGMA foreign_keys = OFF');

		$this->db->transStart();

		$this->forge->renameTable($this->tableName, "temp_{$this->tableName}");

		$this->forge->reset();

		$this->createTable();

		$this->copyData();

		$this->forge->dropTable("temp_{$this->tableName}");

		$success = $this->db->transComplete();

		$this->db->query('PRAGMA foreign_keys = ON');

		return $success;
	}
public function run(): bool
	{
		$this->db->query('PRAGMA foreign_keys = OFF');

		$this->db->transStart();

		$this->forge->renameTable($this->tableName, "temp_{$this->tableName}");

		$this->forge->reset();

		$this->createTable();

		$this->copyData();

		$this->forge->dropTable("temp_{$this->tableName}");

		$success = $this->db->transComplete();

		$this->db->query('PRAGMA foreign_keys = ON');

		return $success;
	}
public function run ( ) : bool { $ this -> db -> query ( 'PRAGMA foreign_keys = OFF' ) ; $ this -> db -> transStart ( ) ; $ this -> forge -> renameTable ( $ this -> tableName , "temp_{$this->tableName}" ) ; $ this -> forge -> reset ( ) ; $ this -> createTable ( ) ; $ this -> copyData ( ) ; $ this -> forge -> dropTable ( "temp_{$this->tableName}" ) ; $ success = $ this -> db -> transComplete ( ) ; $ this -> db -> query ( 'PRAGMA foreign_keys = ON' ) ; return $ success ; }
Called after `fromTable` and any actions, like `dropColumn`, etc,
to finalize the action. It creates a temp table, creates the new
table with modifications, and copies the data over to the new table.

@return boolean
Called after fromTable and any actions like dropColumn etc to finalize the action . It creates a temp table creates the new table with modifications and copies the data over to the new table .