Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Null false timestamps in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
adammathys committed Sep 2, 2016
1 parent 791c38e commit 6caafbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def change
t.integer :user_id, index: true
t.references :payment_method, foreign_key: { to_table: :spree_payment_method }, index: { name: 'index_braintree_source_payment_method' }

t.timestamps
t.timestamps null: false
end
end
end

0 comments on commit 6caafbc

Please sign in to comment.