Sha256: e4314ab3d780efe9f7510434bab29ad88324c983d355eb587939c8450452a77b
Contents?: true
Size: 677 Bytes
Versions: 5
Compression:
Stored size: 677 Bytes
Contents
# This migration comes from no_cms_blocks (originally 20140405135410) class CreateNoCmsBlocksBlocks < ActiveRecord::Migration def change create_table :no_cms_blocks_blocks do |t| t.timestamps end NoCms::Blocks::Block.translated_attribute_names = [:locale, :layout, :fields_info, :draft] create_table :no_cms_blocks_block_translations do |t| t.belongs_to :no_cms_blocks_block t.string :locale t.string :layout t.text :fields_info, :limit => 4294967295 t.boolean :draft end add_index :no_cms_blocks_block_translations, :no_cms_blocks_block_id, { name: 'no_cms_blocks_blocks_translations_block_id'} end end
Version data entries
5 entries across 5 versions & 1 rubygems