migration files

This commit is contained in:
Kyle Drake 2013-06-20 19:54:20 -07:00
parent d535bee286
commit 0b2cdebf3b
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
Sequel.migration do
up {
DB.drop_column :sites, :initial_index_changed
}
down {
DB.add_column :sites, :initial_index_changed, :boolean, default: false
}
end

View file

@ -0,0 +1,9 @@
Sequel.migration do
up {
DB.add_column :sites, :hits, :integer, default: 0
}
down {
DB.add_column :sites, :hits
}
end