Sha256: 1ecedebdb1780ce212bcc73e6629b8d836f74441c02e01735fae3b4a69e4f00c

Contents?: true

Size: 119 Bytes

Versions: 4

Compression:

Stored size: 119 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def change
    create_view :<%= plural_name %>
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scenic-0.3.0 lib/generators/scenic/view/templates/db/migrate/create_view.erb
scenic-0.2.1 lib/generators/scenic/view/templates/db/migrate/create_view.erb
scenic-0.2.0 lib/generators/scenic/view/templates/db/migrate/create_view.erb
scenic-0.1.0 lib/generators/scenic/view/templates/db/migrate/create_view.erb