You may have needed to do this because you didn't actually switch to the `westeros` database after creating it, so your later table creations were operating on the default `postgres` database instead. `\connect westeros` would accomplish this