mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs. Foreign key constraints are now added to the migrations where we do belongs_to.
This commit is contained in:
@@ -23,15 +23,19 @@ development:
|
||||
primary:
|
||||
<<: *default
|
||||
database: db/development.sqlite3
|
||||
migrations_paths: db/migrate
|
||||
queue:
|
||||
<<: *default
|
||||
database: db/development-queue.sqlite3
|
||||
migrations_paths: db/queue/migrate
|
||||
cache:
|
||||
<<: *default
|
||||
database: db/development-cache.sqlite3
|
||||
migrations_paths: db/cache/migrate
|
||||
cable:
|
||||
<<: *default
|
||||
database: db/development-cable.sqlite3
|
||||
migrations_paths: db/cable/migrate
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
@@ -40,15 +44,19 @@ test:
|
||||
primary:
|
||||
<<: *default
|
||||
database: db/test.sqlite3
|
||||
migrations_paths: db/migrate
|
||||
queue:
|
||||
<<: *default
|
||||
database: db/test-queue.sqlite3
|
||||
migrations_paths: db/queue/migrate
|
||||
cache:
|
||||
<<: *default
|
||||
database: db/test-cache.sqlite3
|
||||
migrations_paths: db/cache/migrate
|
||||
cable:
|
||||
<<: *default
|
||||
database: db/test-cable.sqlite3
|
||||
migrations_paths: db/cable/migrate
|
||||
|
||||
production:
|
||||
primary:
|
||||
@@ -59,6 +67,7 @@ production:
|
||||
password: <%= ENV['WRESTLINGDEV_DB_PWD'] %>
|
||||
host: <%= ENV['WRESTLINGDEV_DB_HOST'] %>
|
||||
port: <%= ENV['WRESTLINGDEV_DB_PORT'] %>
|
||||
migrations_paths: db/migrate
|
||||
queue:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
@@ -67,6 +76,7 @@ production:
|
||||
password: <%= ENV['WRESTLINGDEV_DB_PWD'] %>
|
||||
host: <%= ENV['WRESTLINGDEV_DB_HOST'] %>
|
||||
port: <%= ENV['WRESTLINGDEV_DB_PORT'] %>
|
||||
migrations_paths: db/queue/migrate
|
||||
cache:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
@@ -75,6 +85,7 @@ production:
|
||||
password: <%= ENV['WRESTLINGDEV_DB_PWD'] %>
|
||||
host: <%= ENV['WRESTLINGDEV_DB_HOST'] %>
|
||||
port: <%= ENV['WRESTLINGDEV_DB_PORT'] %>
|
||||
migrations_paths: db/cache/migrate
|
||||
cable:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
@@ -83,4 +94,5 @@ production:
|
||||
password: <%= ENV['WRESTLINGDEV_DB_PWD'] %>
|
||||
host: <%= ENV['WRESTLINGDEV_DB_HOST'] %>
|
||||
port: <%= ENV['WRESTLINGDEV_DB_PORT'] %>
|
||||
migrations_paths: db/cable/migrate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user