- [ ] Create Components table - [ ] Add `publication_id` column - integer - [ ] Add `title` column - string - [ ] Add `subtitle` column - string - [ ] Add `comp_type` column - string - [ ] Add `due_date` column - datetime - [ ] Add validation for `publication_id` column (presence) - [ ] In Publications table add: `has_many :components` - [ ] Components table should: `belongs_to :publication` - [ ] Create factories - [ ] Write passing unit tests - [ ] Create seed data
publication_idcolumn - integertitlecolumn - stringsubtitlecolumn - stringcomp_typecolumn - stringdue_datecolumn - datetimepublication_idcolumn (presence)has_many :componentsbelongs_to :publication