Skip to content

Commit

Permalink
Add null constraint to category in original migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Oct 30, 2023
1 parent f74cdc7 commit 63c15ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion db/migrate/20221015114100_create_annotations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def change
t.references :user, null: false, foreign_key: true
t.text :timestamp, null: false
t.text :comment
t.integer :category
t.integer :category, null: false
t.boolean :visible_for_teacher
t.string :color
t.integer :public_comment_id
Expand Down

This file was deleted.

0 comments on commit 63c15ea

Please sign in to comment.