Skip to content
Snippets Groups Projects
Commit 65ec1d36 authored by Tyler Lemburg's avatar Tyler Lemburg
Browse files

Update migrations to hold all data, this is now the central migration...

Update migrations to hold all data, this is now the central migration repository for all UNL Resource Scheduler and affiliated work
parent fb284d79
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ use Rack::CAS, server_url: 'https://login.unl.edu/cas',
Time.zone = "America/Chicago"
DIRECTORY_URL = 'http://directory.unl.edu/'
NIS_SS_ID = ServiceSpace.where(:name => 'Innovation Studio').first.id
NIS_TOOL_RESOURCE_CLASS_ID = 1
# this gives the user messages
def flash(type, header, message)
......
require 'active_record'
require 'models/event_type'
class AddTourType < ActiveRecord::Migration
def up
EventType.create({
description: 'Tour',
service_space_id: 1
})
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment