blob: c294c932b0025d6494a66924a28551e63ca0db30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
module Rails
module Generators
class MigrationGenerator < NamedBase # :nodoc:
argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]"
hook_for :orm, required: true, desc: "ORM to be invoked"
end
end
end
|