Sha256: e1ea702a2863ebe5949acc082e06a337932ebe455a826511262094ab10ad8cd3
Contents?: true
Size: 490 Bytes
Versions: 6
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true require "cases/helper" require "cases/json_shared_test_cases" if ActiveRecord::Base.connection.supports_json? class Mysql2JSONTest < ActiveRecord::Mysql2TestCase include JSONSharedTestCases self.use_transactional_tests = false def setup super @connection.create_table("json_data_type") do |t| t.json "payload" t.json "settings" end end private def column_type :json end end end
Version data entries
6 entries across 6 versions & 2 rubygems