Add track type to admin dashboard
This commit is contained in:
parent
770a63e15c
commit
abc59bb3d7
18 changed files with 252 additions and 2 deletions
11
db/migrate/20190622061319_create_track_types.rb
Normal file
11
db/migrate/20190622061319_create_track_types.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class CreateTrackTypes < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :track_types do |t|
|
||||
t.references :program
|
||||
t.string :title, null: false
|
||||
t.string :description
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue