Sha256: 7cc0131164251ccf306bb7c15e0b15e7ae08af3b6d2d4e755d08b14879a0c6a2

Contents?: true

Size: 279 Bytes

Versions: 5

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

class CreateMicroCmsContentBlocks < ActiveRecord::Migration[5.2]
  def change
    create_table :micro_cms_content_blocks do |t|
      t.string :path, null: false
      t.text :content, null: false, default: ''

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
micro_cms-0.2.1 db/migrate/20190923103919_create_micro_cms_content_blocks.rb
micro_cms-0.2.0 db/migrate/20190923103919_create_micro_cms_content_blocks.rb
micro_cms-0.1.2 db/migrate/20190923103919_create_micro_cms_content_blocks.rb
micro_cms-0.1.1 db/migrate/20190923103919_create_micro_cms_content_blocks.rb
micro_cms-0.1.0 db/migrate/20190923103919_create_micro_cms_content_blocks.rb