diff --git a/db/migrate/007_create_affiliations.rb b/db/migrate/007_create_affiliations.rb index 4bcfd7c..cfe97a4 100644 --- a/db/migrate/007_create_affiliations.rb +++ b/db/migrate/007_create_affiliations.rb @@ -1,7 +1,7 @@ class CreateAffiliations < ActiveRecord::Migration def self.up create_table :affiliations do |t| - t.column :user_id, :integer + t.column :person_id, :integer t.column :profile_id, :integer end end diff --git a/test/fixtures/profiles.yml b/test/fixtures/profiles.yml index 4bd77a7..ca38ee3 100644 --- a/test/fixtures/profiles.yml +++ b/test/fixtures/profiles.yml @@ -38,3 +38,12 @@ ze: flexible_template_template: 'default' flexible_template_icon_theme: 'default' flexible_template_theme: 'default' +colivre: + id: 5 + name: "cooptec_livre" + type: 'Enterprise' + identifier: 'colivre' + virtual_community_id: 1 + flexible_template_template: 'default' + flexible_template_icon_theme: 'default' + flexible_template_theme: 'default' -- libgit2 0.21.2