Skip to content

Commit

Permalink
add parsons_prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
keweizhan committed Mar 14, 2024
1 parent 74b7c82 commit 218f122
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
t.timestamps null: false
end

create_table :parsons_prompts do |t|
t.references :parsons, null: false, foreign_key: true
t.text :prompt_text
t.integer :position
t.timestamps null: false
end

create_table "coding_prompt_answers", force: :cascade do |t|
t.text "answer", limit: 65535
t.text "error", limit: 65535
Expand Down

0 comments on commit 218f122

Please sign in to comment.