# 'rename\_discourse\_rewind\_disabled\_to\_enabled' 마이그레이션 오류

**URL:** https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049
**Category:** Self-hosting
**Created:** [1월 8, 2026, 4:28오후 UTC](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049 "2026-01-08T16:28:20Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [1월 9, 2026, 5:15오후 UTC](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049/19 "2026-01-09T17:15:37Z")

</div>

@here 문제가 발생하고 있는 분들을 위해, @david와 제가 근본 원인을 찾은 것 같습니다. 다만 로컬에서 재현하는 것이 [복잡합니다](https://github.com/discourse/discourse/pull/37037).

혹시 아래 SQL 쿼리를 실행하여 결과를 여기에 보고해 주실 수 있을까요?

**쿼리 #1**

```sql
SELECT table_schema, column_name, column_default
FROM information_schema.columns
WHERE table_name = 'user_options' 
AND column_name = 'discourse_rewind_disabled'
ORDER BY table_schema;

```

**쿼리 #2**

```sql
SELECT n.nspname, n.oid
FROM pg_namespace n
JOIN pg_class c ON c.relnamespace = n.oid
WHERE c.relname = 'user_options'
ORDER BY n.oid;

```

**쿼리 #3**

```sql
SELECT table_schema, column_default IS NOT NULL as has_default
FROM information_schema.columns
WHERE table_name = 'user_options'
AND column_name = 'discourse_rewind_disabled';

```

**쿼리 #4**

```sql
SELECT nspname, oid FROM pg_namespace
WHERE nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast', 'public')
AND nspname NOT LIKE 'pg_temp%'
AND nspname NOT LIKE 'pg_toast_temp%'
ORDER BY oid;

```

감사합니다 🙏

---

_[View the full topic](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049)._
