Project

General

Profile

Feature #29250

Add PostgreSQLAdapter.create_unlogged_tables = true to test.rb

Added by Lukas Zapletal over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Since Rails 6.0 tests can be made faster by adding:

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.create_unlogged_tables = true

to config/environment/test.rb. For more info:


Related issues

Related to Foreman - Tracker #24837: Rails 6.0 TrackerClosed

History

#1 Updated by Lukas Zapletal over 2 years ago

Also available in: Atom PDF