Class: Mobility::BackendGenerators::ColumnBackend

Inherits:
Base
  • Object
show all
Defined in:
lib/rails/generators/mobility/backend_generators/column_backend.rb

Instance Method Summary collapse

Methods inherited from Base

#backend, #create_migration_file, next_migration_number

Methods included from ActiveRecordMigrationCompatibility

#activerecord_migration_class

Constructor Details

#initialize(*args) ⇒ ColumnBackend

Returns a new instance of ColumnBackend.


9
10
11
12
# File 'lib/rails/generators/mobility/backend_generators/column_backend.rb', line 9

def initialize(*args)
  super
  check_data_source!
end