How to add a custom field to my post when created programmatically?

I am trying to create a post programmatically, and store a value in a column created directly from PhpMyAdmin.

[![enter image description here](https://i.stack.imgur.com/CTjyu.jpg)](https://i.stack.imgur.com/CTjyu.jpg)

Here is how I am creating the post:

```
$post_title = $post->title->rendered;
$post_content = $post->content->rendered;

$post_check = get_page_by_title($post_title);
$post = array(
    'post_type' => 'post',
    'post_title' => $post_title,
    'post_content' => $post_content,
    'post_status' => 'publish',
    'post_author' => 1,
    'post_slug' => $post_title,
    'post_imported_id' => 3

);
$post_id = wp_insert_post($post);
if ($post_id) {
    add_post_meta( $post_id, 'post_imported_id', 3 );
}

```

The post is created and all default fields are well saved too.

The problem is that my "post\_imported\_id" is not taken in consideration.