Sha256: 9d40485de0195310bb8f8b770143ce49128e4eab91eb1763ce1ad21f990b0ef0
Contents?: true
Size: 521 Bytes
Versions: 7
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true # This migration comes from action_text (originally 20180528164100) class CreateActionTextTables < ActiveRecord::Migration[6.0] def change create_table :action_text_rich_texts do |t| t.string :name, null: false t.text :body, size: :long t.references :record, null: false, polymorphic: true, index: false t.timestamps t.index [ :record_type, :record_id, :name ], name: 'index_action_text_rich_texts_uniqueness', unique: true end end end
Version data entries
7 entries across 7 versions & 1 rubygems