Browse Source

Fixed attributions again

development
Godwin 10 years ago
parent
commit
867dbec2bb
  1. 2
      db/migrate/20140712190647_add_cover_attribution_user_id_to_organizations.rb
  2. 2
      db/migrate/20140712190815_add_cover_attribution_user_id_to_conferences.rb
  3. 4
      db/schema.rb

2
db/migrate/20140712190647_add_cover_attribution_user_id_to_organizations.rb

@ -1,5 +1,5 @@
class AddCoverAttributionUserIdToOrganizations < ActiveRecord::Migration class AddCoverAttributionUserIdToOrganizations < ActiveRecord::Migration
def change def change
add_column :organizations, :id, :integer add_column :organizations, :cover_attribution_user_id, :integer
end end
end end

2
db/migrate/20140712190815_add_cover_attribution_user_id_to_conferences.rb

@ -1,5 +1,5 @@
class AddCoverAttributionUserIdToConferences < ActiveRecord::Migration class AddCoverAttributionUserIdToConferences < ActiveRecord::Migration
def change def change
add_column :conferences, :id, :integer add_column :conferences, :cover_attribution_user_id, :integer
end end
end end

4
db/schema.rb

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140525212115) do ActiveRecord::Schema.define(version: 20140712190815) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -93,6 +93,7 @@ ActiveRecord::Schema.define(version: 20140525212115) do
t.integer "cover_attribution_id" t.integer "cover_attribution_id"
t.string "cover_attribution_name" t.string "cover_attribution_name"
t.string "cover_attribution_src" t.string "cover_attribution_src"
t.integer "cover_attribution_user_id"
end end
create_table "event_types", force: true do |t| create_table "event_types", force: true do |t|
@ -166,6 +167,7 @@ ActiveRecord::Schema.define(version: 20140525212115) do
t.string "cover_attribution_src" t.string "cover_attribution_src"
t.string "phone" t.string "phone"
t.integer "organization_status_id" t.integer "organization_status_id"
t.integer "cover_attribution_user_id"
end end
create_table "registration_form_fields", force: true do |t| create_table "registration_form_fields", force: true do |t|

Loading…
Cancel
Save