Sha256: 74060d7f993aa6a4684e9059845e3d6a8e5f531832fc163317a9b0d4dc4cb71a

Contents?: true

Size: 262 Bytes

Versions: 6

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Base.connection.create_table(:orders, force: true, id: :uuid) do |t|
  t.text :body
  t.string :title

  t.timestamps null: false
end

class Order < ApplicationRecord
  second_level_cache

  has_many :order_items
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
second_level_cache-2.7.1 test/model/order.rb
second_level_cache-2.7.0 test/model/order.rb
second_level_cache-2.6.4 test/model/order.rb
second_level_cache-2.6.3 test/model/order.rb
second_level_cache-2.6.2 test/model/order.rb
second_level_cache-2.6.1 test/model/order.rb