diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-13 03:12:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 03:12:25 +0200 |
commit | 880a5eb25cc62d2181b34a21985addee847cbb49 (patch) | |
tree | ca0b37ff4b1be7606ed1bf3ad7c6bebb8cb68cce /app/models/import.rb | |
parent | e48d3bfd01c4bdeb36d39bbdf13b6873e3444179 (diff) |
Fix boolean columns sometimes having a null value (#4162)
* Fix boolean columns sometimes having a null value * Fix wrong value being set instead of null
Diffstat (limited to 'app/models/import.rb')
-rw-r--r-- | app/models/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import.rb b/app/models/import.rb index 8c6253d49..815e02589 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -6,7 +6,7 @@ # id :integer not null, primary key # account_id :integer not null # type :integer not null -# approved :boolean +# approved :boolean default(FALSE), not null # created_at :datetime not null # updated_at :datetime not null # data_file_name :string |