mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 09:12:35 +02:00
11 lines
255 B
Ruby
11 lines
255 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.drop_column :events, :created_at
|
|
DB.add_column :events, :created_at, :timestamp, index: true
|
|
}
|
|
|
|
down {
|
|
DB.drop_column :events, :created_at
|
|
DB.add_column :events, :created_at, :integer, index: true
|
|
}
|
|
end
|