Sha256: e43ae52498d80b5a61d39672829cb76c2271b5956050cde6ccc999808539edb2

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

class Create<%= klasses %> < ActiveRecord::Migration
  def change
    create_table :<%= table_names %> 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.1.0 lib/generators/buildybuild/cms/templates/cms_migration.rb