FIX schema
This commit is contained in:
parent
9f4c2bd673
commit
50d81b2490
|
@ -11,11 +11,6 @@
|
||||||
# sync_subject :boolean default("0")
|
# sync_subject :boolean default("0")
|
||||||
# sync_shixun :boolean default("0")
|
# sync_shixun :boolean default("0")
|
||||||
#
|
#
|
||||||
# Indexes
|
|
||||||
#
|
|
||||||
# index_laboratories_on_identifier (identifier) UNIQUE
|
|
||||||
# index_laboratories_on_school_id (school_id)
|
|
||||||
#
|
|
||||||
|
|
||||||
class Laboratory < ApplicationRecord
|
class Laboratory < ApplicationRecord
|
||||||
belongs_to :school, optional: true
|
belongs_to :school, optional: true
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
# laboratory_id :integer
|
# laboratory_id :integer
|
||||||
# config :text(65535)
|
# config :text(65535)
|
||||||
#
|
#
|
||||||
# Indexes
|
|
||||||
#
|
|
||||||
# index_laboratory_settings_on_laboratory_id (laboratory_id)
|
|
||||||
#
|
|
||||||
|
|
||||||
class LaboratorySetting < ApplicationRecord
|
class LaboratorySetting < ApplicationRecord
|
||||||
belongs_to :laboratory
|
belongs_to :laboratory
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Project < ApplicationRecord
|
class Project < ApplicationRecord
|
||||||
include Matchable
|
include Matchable
|
||||||
include Publicable
|
include Publicable
|
||||||
|
|
Loading…
Reference in New Issue