Sha256: 702a2d81622f1be0786b7b458600d8c6d9b11cc74033c7974038f9c54481e4ff

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

Description:
  Create a new database view for your application. This will create a new
  view definition file and the accompanying migration.

  If a view of the given name already exists, create a new version of the view
  and a migration to replace the old version with the new.

Examples:
    rails generate scenic:view searches

      create: db/views/searches_v01.sql
      create: db/migrate/20140803191158_create_searches.rb

    rails generate scenic:view searches

      create: db/views/searches_v02.sql
      create: db/migrate/20140804191158_update_searches_to_version_2.rb

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scenic-0.3.0 lib/generators/scenic/view/USAGE
scenic-0.2.1 lib/generators/scenic/view/USAGE
scenic-0.2.0 lib/generators/scenic/view/USAGE