mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adding arrival/departure time to the registration form
This commit is contained in:
parent
6ad491982e
commit
a76854c414
100 changed files with 2156 additions and 86 deletions
|
|
@ -0,0 +1,11 @@
|
|||
class ChangeArrivalRegistrationsDateToDatetime < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :registrations, :arrival, :datetime
|
||||
change_column :registrations, :departure, :datetime
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :registrations, :arrival, :date
|
||||
change_column :registrations, :departure, :date
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue