This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
class CreateSchedules < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :schedules do |t|
|
||||
t.string :event_type
|
||||
t.date :date_begin
|
||||
t.date :date_end
|
||||
t.string :event_name
|
||||
t.string :event_desc
|
||||
t.integer :user_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user