Sha256: 4626360bff89bb6d2633222fefdcd8fb72f57787949d8f1d4d62685512fa0188
Contents?: true
Size: 603 Bytes
Versions: 5
Compression:
Stored size: 603 Bytes
Contents
class TrolliedMigrationsGenerator < Rails::Generator::Base def manifest record do |m| m.migration_template 'trolleys_migration.rb', 'db/migrate', { :migration_file_name => "create_trolleys" } m.sleep(1) m.migration_template 'orders_migration.rb', 'db/migrate', { :migration_file_name => "create_orders" } m.sleep(1) m.migration_template 'line_items_migration.rb', 'db/migrate', { :migration_file_name => "create_line_items" } m.sleep(1) m.migration_template 'notes_migration.rb', 'db/migrate', { :migration_file_name => "create_notes" } end end end
Version data entries
5 entries across 5 versions & 1 rubygems