bigint for views and hits

This commit is contained in:
Kyle Drake 2015-12-26 04:33:26 -06:00
parent 7d8ad81fd0
commit 2bac42078c

View file

@ -0,0 +1,15 @@
Sequel.migration do
up {
alter_table(:stats) do
set_column_type :hits, Bignum
set_column_type :views, Bignum
end
}
down {
alter_table(:stats) do
set_column_type :hits, Integer
set_column_type :views, Integer
end
}
end