Added semi-functional administration pages

This commit is contained in:
Godwin
2016-06-22 00:04:57 -07:00
parent e4fc1120e2
commit b719b2c8ef
43 changed files with 4319 additions and 198 deletions
@@ -0,0 +1,5 @@
class AddSpaceToEventLocations < ActiveRecord::Migration
def change
add_column :event_locations, :space, :string
end
end
@@ -0,0 +1,5 @@
class AddMealsToConferences < ActiveRecord::Migration
def change
add_column :conferences, :meals, :json
end
end
@@ -0,0 +1,5 @@
class AddLocaleToEvents < ActiveRecord::Migration
def change
add_column :events, :locale, :string
end
end
+4 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160604221432) do
ActiveRecord::Schema.define(version: 20160622011811) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -126,6 +126,7 @@ ActiveRecord::Schema.define(version: 20160604221432) do
t.string "paypal_signature"
t.string "day_parts"
t.string "registration_status"
t.json "meals"
end
create_table "delayed_jobs", force: :cascade do |t|
@@ -172,6 +173,7 @@ ActiveRecord::Schema.define(version: 20160604221432) do
t.string "amenities"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "space"
end
create_table "event_types", force: :cascade do |t|
@@ -194,6 +196,7 @@ ActiveRecord::Schema.define(version: 20160604221432) do
t.datetime "updated_at"
t.integer "event_location_id"
t.string "event_type"
t.string "locale"
end
create_table "locations", force: :cascade do |t|