summaryrefslogtreecommitdiff
path: root/app/models/project_import_data.rb
blob: 6a8a8a56eb5874653265aa820300de5847524cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# == Schema Information
#
# Table name: project_import_datas
#
#  id           :integer          not null, primary key
#  project_id   :integer
#  data         :text
#

require 'carrierwave/orm/activerecord'
require 'file_size_validator'

class ProjectImportData < ActiveRecord::Base
  belongs_to :project
  
  serialize :data, JSON

  validates :project, presence: true
end