# PostgreSQL Enterprise의 not null default current\_timestamp 레코드에 null을 삽입할 수 없음

**URL:** <https://meta.discourse.org/t/unable-to-insert-null-into-a-not-null-default-current-timestamp-record-of-postgresql-enterprise/354557>\
**Category:** Bug\
**Created:** [2월 26, 2025, 6:28오전 UTC](https://meta.discourse.org/t/unable-to-insert-null-into-a-not-null-default-current-timestamp-record-of-postgresql-enterprise/354557 "2025-02-26T06:28:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2월 27, 2025, 12:20오전 UTC](https://meta.discourse.org/t/unable-to-insert-null-into-a-not-null-default-current-timestamp-record-of-postgresql-enterprise/354557/2 "2025-02-27T00:20:16Z")

</div>

혼란스럽습니다. 여기서 기본값을 설정했는데:

> <https://github.com/discourse/discourse/blob/fbe5a9c71096dde8d7d59a0b2bec932b22c38a05/db/migrate/20190402024053_add_first_unread_at_to_user_stats.rb#L8-L14>

---

_[View the full topic](https://meta.discourse.org/t/unable-to-insert-null-into-a-not-null-default-current-timestamp-record-of-postgresql-enterprise/354557)._
