class InferredDatasetFileSchema
  include ActiveModel::Model

  attr_accessor :user_id, :name, :description, :csv_url

  validates_presence_of :csv_url, message: 'You must have a data file'
  validates_presence_of :name, message: 'Please give the schema a meaningful name'
  validates_presence_of :user_id, message: 'Please select an owner'
end

class InferredDatasetFileSchema
  include ActiveModel::Model

  attr_accessor :user_id, :name, :description, :csv_url, :csv_storage_key

  validates_presence_of :csv_url, message: 'You must have a data file'
  validates_presence_of :name, message: 'Please give the schema a meaningful name'
  validates_presence_of :user_id, message: 'Please select an owner'
end

Add csv storage key to model
Add csv storage key to model
