mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Add db constraint
This commit is contained in:
parent
c013f563f3
commit
18e6f511aa
3 changed files with 211 additions and 204 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeInvoicesNumberToNotNull < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_null :invoices, :number, false
|
||||
end
|
||||
end
|
408
db/structure.sql
408
db/structure.sql
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue