Rails Missing Migration Sessions Table

Production DB Missing Table: schema.rb and Migration File Mismatch Incident

I received a report that sign-up and login were completely broken. The app just repeated “An unexpected error occurred.” Symptoms Sign-up attempt -> 500 Internal Server Error Login attempt -> same 500 Health check API -> 200 OK, DB connection normal The server was alive and DB was connected, but all authentication features were dead. Investigation Process Step 1: Check Server Status SSH in and check the Rails environment. rails runner "puts Rails.env" # => production rails runner "puts User.count" # => 13 Server normal, DB connection normal, user data exists. ...

2025-10-18 · 5 min read · Seunghan
Domain Projects Dev Guide

Multi-Domain Static Site Operations Development Guide

Overview A guide documenting the structure and deployment workflow for managing multiple static sites (landing pages + blogs) from a single directory. Directory Structure ~/domain/ ├── dcode/ │ └── landing/ # Static HTML landing page collection │ ├── index.html # Main page │ ├── app-a/ # Per-app subdirectory │ │ ├── index.html │ │ ├── privacy/ │ │ └── terms/ │ ├── app-b/ │ └── Makefile │ ├── seunghan-xyz/ # Personal blog (Hugo) │ ├── content/ │ │ ├── posts/ # Tech blog posts │ │ ├── projects/ # Project introductions │ │ └── about/ │ ├── hugo.toml │ └── public/ # Build output (git excluded) │ └── blogs/ └── blog_richdada/ # Hugo blog collection ├── site-a/ # Site A (Korean/English) └── site-b/ # Site B Tech Stack Category Technology Personal blog Hugo + PaperMod Theme App blog Hugo + Stack Theme v3 Landing pages Static HTML + Tailwind CSS (CDN) Hosting Netlify Domain management Namecheap Deployment Methods 1. Personal Blog (Hugo -> Netlify CLI) Build then deploy directly with Netlify CLI. GitHub push is not connected to auto-deploy. ...

2025-09-13 · 4 min read · Seunghan
Privacy Policy Terms Disclaimer Contact