mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
11 lines
275 B
Ruby
11 lines
275 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.drop_column :daily_site_stats, :bandwidth
|
|
DB.add_column :daily_site_stats, :bandwidth, :integer, default: 0
|
|
}
|
|
|
|
down {
|
|
DB.drop_column :daily_site_stats, :bandwidth
|
|
DB.add_column :daily_site_stats, :bandwidth, :integer
|
|
}
|
|
end
|