Project

General

Profile

Actions

Feature #29250

open

Add PostgreSQLAdapter.create_unlogged_tables = true to test.rb

Added by Lukas Zapletal about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
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 1 (0 open1 closed)

Related to Foreman - Tracker #24837: Rails 6.0 TrackerClosed

Actions
Actions #1

Updated by Lukas Zapletal about 4 years ago

Actions

Also available in: Atom PDF