1
0

Added Target and Threshold models

This commit is contained in:
cryptogopher
2020-06-21 02:48:32 +02:00
parent 2c4caed737
commit 8240e5e868
3 changed files with 21 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ class CreateSchema < ActiveRecord::Migration
create_table :targets do |t|
t.references :goal
t.references :threshold
t.references :item, polymorphic: true
t.string :condition
t.string :scope
t.date :effective_from