[๐Ÿ‘พ Error Handling] ERROR 1091 (42000):can't drop 'outer_id'; check that column/key exists

Open
#196 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
database

Research direction

Start by reviewing the files in the migrations folder and reproducing the error with db:migrate on a freshly created database. Trace which migration attempts to drop outer_id and verify the expected column or key state. Done means the migration sequence completes without ERROR 1091 and the documented database setup remains consistent.

Written by the indexing model from the issue text.

Description

error

์–ด๋–ค ์—๋Ÿฌ์ธ๊ฐ€์š”?

  • db:migrate๋ฅผ ์ƒˆ๋กœ ์ง„ํ–‰ํ•˜๋ฉด์„œ ๋œฌ ์—๋Ÿฌ

์—๋Ÿฌ ๋ฉ”์‹œ์ง€

ERROR 1091 (42000):can't drop 'outer_id'; check that column/key exists

์—๋Ÿฌ ํ•ธ๋“ค๋ง ๋ฐฉ๋ฒ•

1. ๋‚ด migrationsํด๋”์•ˆ์˜ ํŒŒ์ผ๋“ค์„ ์ง€์šด ํ›„ ํŒ€์›์—๊ฒŒ migrationsํด๋” ํŒŒ์ผ๋“ค์„ ์ƒˆ๋กœ ๋ฐ›์•„ ์˜ฎ๊ฒผ๋‹ค. 
2. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ์‚ญ์ œํ•˜๊ณ  ์žฌ์ƒ์„ฑ ํ›„์— ๋‹ค์‹œ db migrate๋ฅผ ์‹คํ–‰์‹œ์ผฐ๋‹ค.

์—๋Ÿฌ ํ•ธ๋“ค๋ง์„ ์œ„ํ•ด ์ฐธ๊ณ ํ•œ ๋ ˆํผ๋Ÿฐ์Šค ๋งํฌ

์˜ˆ์‹œ1

Dominant language
JavaScript
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up โ€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codestates/ThereWeather

All issues in codestates/ThereWeather

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.