-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrations fail in rails 3.2.9 #17
Comments
I wasn't able to replicate this on a Vanilla Rails 3.2.9 app. Check out my source and see if you're doing anything different. This is with |
Both of our examples look the same, however I'm running |
I rolled back to
What could I be missing? |
that's actually a bug which I've fixed in Dev. I'll release a new version today. The issue though is that it's searching for a schema that doesn't exist. Is there an account in your system that's returning a db name that doesn't actually exist? I'll let you know when the new version is out. B On 2012-11-27, at 1:44 AM, Enrique Vidal wrote:
|
|
I have another question, now that I am creating a schema from the model each time, I opened the db console, and did this:
Why is |
All databases have the same schemas. It is the query that is modified to ignore the model and fall back to the public database. See issue #14: 27 nov 2012 kl. 19:54 skrev Enrique Vidal [email protected]:
|
I've pushed out the new gem so you won't get that invalid exception anymore when it can't find a schema. As @nivanson mentioned, all tables are currently stored in all schemas, we're working to fix that going forward but for now it shouldn't cause you any problems, it's just more of an annoyance than anything. Everything resolved? |
Yeah it really looks that way, thanks a lot for taking the time to walk me through this, I just have one possibly unrelated question, do I need to keep my session store in You may close this issue, thanks again for your great support. |
No we actually use cookies it's just there as an example.
|
I'm just installed apartment in our appliaction, I followed the steps in your readme:
I added
config.middleware.use 'Apartment::Elevators::Subdomain'
toconfig/application.rb
However after creating a
demo
account (tenant) and runningrake apartment:migrate
I get the following message:Am I missing anything besides this? Here's a the full stack trace of the migrate task:
The text was updated successfully, but these errors were encountered: