Sha256: 5d6c9fbc381545733180ee59387fbbe2b639dffde21eefa5215cc9ba1326d674
Contents?: true
Size: 654 Bytes
Versions: 7
Compression:
Stored size: 654 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. To create a materialized view, pass the '--materialized' option. 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
7 entries across 7 versions & 1 rubygems