You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect the error segment to not appear -- not sure if it's necessarily a bad thing as things appear to be correct in the end and I can seed the database after this with the same Account information and the schemas are created.
Appears to be an issue handling UUID's on the tenants?
Actual behavior
Error (after step 7):
Dropping ["be6c9a5c-66e7-4bc7-8db1-e98b34d7b40b", "First", "73a67d3cf158e61a0b1a", "first", Wed, 06 May 2020 18:20:55 UTC +00:00, Wed, 06 May 2020 18:20:55 UTC +00:00] tenant
Error while dropping tenant ["be6c9a5c-66e7-4bc7-8db1-e98b34d7b40b", "First", "73a67d3cf158e61a0b1a", "first", Wed, 06 May 2020 18:20:55 UTC +00:00, Wed, 06 May 2020 18:20:55 UTC +00:00]: PG::SyntaxError: ERROR: syntax error at or near "be6c9a5c"
LINE 1: DROP SCHEMA "["be6c9a5c-66e7-4bc7-8db1-e98b34d7b40b", "First...
^
Dropping ["073f33e6-8a21-4e71-9f3c-479ce71f224d", "Second", "019772af66a637c83ba1", "sec", Wed, 06 May 2020 18:20:59 UTC +00:00, Wed, 06 May 2020 18:20:59 UTC +00:00] tenant
Error while dropping tenant ["073f33e6-8a21-4e71-9f3c-479ce71f224d", "Second", "019772af66a637c83ba1", "sec", Wed, 06 May 2020 18:20:59 UTC +00:00, Wed, 06 May 2020 18:20:59 UTC +00:00]: PG::SyntaxError: ERROR: syntax error at or near "073"
LINE 1: DROP SCHEMA "["073f33e6-8a21-4e71-9f3c-479ce71f224d", "Second...
^
Dropped database 'dev'
Created database 'dev'
...
<rebuilds database>
System configuration
Database: (Tell us what database and its version you use.) pg-0.21.0
Apartment version: ros-apartment-2.5.0
Apartment config (in config/initializers/apartment.rb or so):
Steps to reproduce
ENV
configuration (notdatabase.yml
(ex:.env.development
)db/demo.rb
file with content:rails db:drop db:create db:migrate
rails r db/demo.rb
rails db:drop db:create db:migrate
Expected behavior
I expect the error segment to not appear -- not sure if it's necessarily a bad thing as things appear to be correct in the end and I can seed the database after this with the same
Account
information and the schemas are created.Appears to be an issue handling
UUID
's on the tenants?Actual behavior
Error (after step 7):
System configuration
Database: (Tell us what database and its version you use.)
pg-0.21.0
Apartment version:
ros-apartment-2.5.0
Apartment config (in
config/initializers/apartment.rb
or so):Rails (or ActiveRecord) version:
6.0.1
Ruby version:
2.6.3
The text was updated successfully, but these errors were encountered: