Description:
Creates a model and associated database table with the attributes specified. If using data from the portal (recommended) Worker should be the name of a worker defined in your Hive, and Model should be the name of a Driver or Script in that Worker.
Example:
rails generate apiotics:model Worker Model attribute:type attribute:type ... attribute:type This will create: app/models/worker.rb app/models/worker/model.rb db/migrate/{datetime_stamp}_create_table.rb db/migrate/{datetime_stamp}_create_table_attribute_logs.rb