Skip to content

Add Submissions table to database #21

Description

@seesarahcode
  • Create Submissions table
  • Add draft_id column - integer
  • Add user_id column - integer
  • Add comments column - string
  • Add validation for draft_id column (presence)
  • Drafts table should: has_many :submissions
  • In Submissions table add: belongs_to :draft
  • Notifications table should: belongs_to :submission
  • In Submissions table add: has_many :notifications
  • Create factories
  • Write passing unit tests
  • Create seed data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions