Imrpove migrations
This commit is contained in:
1 parent
49b53451b7
commit
137e53618b
3 files changed
+14
-5
No files matched your search
@@ -5,7 +5,8 @@ Sequel.migration do
|
||||
|
||||
foreign_key :account_id, :accounts,
|
||||
type: :Bignum,
|
||||
null: false
|
||||
null: false,
|
||||
on_delete: :cascade
|
||||
|
||||
String :kind, null: false
|
||||
String :first_name
|
||||
|
||||
Reference in new issue
Block a user