# Slim 4 Skeleton created\_user\_id - what's it for?

**URL:** <https://discourse.slimframework.com/t/slim-4-skeleton-created-user-id-whats-it-for/4959>\
**Category:** Questions\
**Created:** [September 29, 2021, 7:35pm UTC](https://discourse.slimframework.com/t/slim-4-skeleton-created-user-id-whats-it-for/4959 "2021-09-29T19:35:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blegh](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@blegh](https://discourse.slimframework.com/u/blegh)\
**Post date:** [September 29, 2021, 7:35pm UTC](https://discourse.slimframework.com/t/slim-4-skeleton-created-user-id-whats-it-for/4959/1 "2021-09-29T19:35:09Z")

</div>

Just curious what the `created_user_id` and `updated_user_id` int columns are for in the example user table migration.

---

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [September 30, 2021, 7:25am UTC](https://discourse.slimframework.com/t/slim-4-skeleton-created-user-id-whats-it-for/4959/2 "2021-09-30T07:25:22Z")

</div>

I assume you are referring to the [initial database migration](https://github.com/odan/slim4-skeleton/blob/0.19.2/resources/migrations/20210228195050_initialization.php#L22) script of the (unofficial) odan/slim4-skeleton, correct?

These fields could be used to store the user who created or made the last change to this record. Normally, you store the user ID of the logged-in user there. With an API, however, these fields are usually not needed and can be omitted completely.

By the way, you can also ask questions about this specific repository directly under [Issues](https://github.com/odan/slim4-skeleton/issues).
