Commit 765bc9a
committed
Change null constraints on requests table
We want `deadline` and `current_content` to have `null: false`, and our
`schema.rb` reflects this but our migrations do not - running
`rails db:migrate:reset` results in a schema diff with those columns
being nullable. This migration fixes that.1 parent cee7e13 commit 765bc9a
File tree
2 files changed
+9
-1
lines changed- db
- migrate
2 files changed
+9
-1
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments