mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Add NOT NULL contraints.
This commit is contained in:
parent
706ce8d997
commit
9a7f7fe6b6
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
class CreateChains < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :chains do |t|
|
||||
t.integer :runner_id
|
||||
t.integer :target_id
|
||||
t.integer :runner_id, null: false
|
||||
t.integer :target_id, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue