Permalink
Browse files

Removes standard 0 from user_snps count

  • Loading branch information...
1 parent b5319bd commit 254f52515d82529f0a7940b7e0fc0c64eb406f44 @philippbayer philippbayer committed Feb 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20140221060607_add_user_snps_count.rb
@@ -1,6 +1,6 @@
class AddUserSnpsCount < ActiveRecord::Migration
def up
- add_column :snps, :user_snps_count, :integer, :default => 0
+ add_column :snps, :user_snps_count, :integer
Snp.reset_column_information
user_snp_counts = execute(
'select snp_name, count(*) as count from user_snps group by snp_name'

0 comments on commit 254f525

Please sign in to comment.