Workshop interest

This commit is contained in:
Godwin
2015-09-13 18:30:50 -07:00
parent a90c465160
commit a0fbbc9f4f
88 changed files with 2067 additions and 819 deletions
@@ -0,0 +1,10 @@
class CreateWorkshopInterests < ActiveRecord::Migration
def change
create_table :workshop_interests do |t|
t.integer :workshop_id
t.integer :user_id
t.timestamps null: false
end
end
end
+8 -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: 20150821005002) do
ActiveRecord::Schema.define(version: 20150912010105) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -326,6 +326,13 @@ ActiveRecord::Schema.define(version: 20150821005002) do
t.datetime "updated_at"
end
create_table "workshop_interests", force: :cascade do |t|
t.integer "workshop_id"
t.integer "user_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "workshop_presentation_styles", force: :cascade do |t|
t.string "name"
t.string "slug"