summaryrefslogtreecommitdiff
path: root/app/models/program.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/program.rb')
-rw-r--r--app/models/program.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/program.rb b/app/models/program.rb
new file mode 100644
index 0000000..7cc794d
--- /dev/null
+++ b/app/models/program.rb
@@ -0,0 +1,4 @@
+class Program < ActiveRecord::Base
+ has_many :exercises, through: :workouts
+ has_many :workouts
+end