Merge pull request #1817 from kobaltz/main
Fix Account Slug and Database yaml
This commit is contained in:
@@ -27,7 +27,7 @@ class Account < ApplicationRecord
|
||||
end
|
||||
|
||||
def slug
|
||||
"/#{external_account_id}"
|
||||
"/#{AccountSlug.encode(external_account_id)}"
|
||||
end
|
||||
|
||||
def account
|
||||
|
||||
@@ -32,3 +32,11 @@ production:
|
||||
<<: *default
|
||||
database: storage/production_cable.sqlite3
|
||||
migrations_paths: db/cable_migrate
|
||||
cache:
|
||||
<<: *default
|
||||
database: storage/production_cache.sqlite3
|
||||
migrations_paths: db/cache_migrate
|
||||
queue:
|
||||
<<: *default
|
||||
database: storage/production_queue.sqlite3
|
||||
migrations_paths: db/queue_migrate
|
||||
|
||||
Reference in New Issue
Block a user