Sha256: de954a83ba8b2d083cbb52969c63fe558610219d1d820dd48f5d1a228a68ecb8

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

class Create<%= klasses %> < ActiveRecord::Migration
  def change
    create_table :<%= table_name %> do |t|
      t.string :name
      t.string :slug
      t.text :body

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
buildybuild-1.0.0 lib/generators/buildybuild/cms/templates/cms_migration.rb