social_stream 0.29.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/base/app/models/like.rb +8 -3
  2. data/base/config/locales/en.yml +1 -0
  3. data/base/config/locales/es.yml +1 -0
  4. data/base/db/migrate/{20120111141717_create_social_stream.rb → 20120326083509_create_social_stream.rb} +33 -8
  5. data/base/lib/generators/social_stream/base/install_generator.rb +1 -1
  6. data/base/lib/social_stream/base/version.rb +1 -1
  7. data/base/lib/social_stream/controllers/objects.rb +4 -2
  8. data/base/lib/tasks/attachments.rake +22 -0
  9. data/base/social_stream-base.gemspec +4 -4
  10. data/base/spec/controllers/relation_customs_controller_spec.rb +2 -1
  11. data/base/spec/dummy/config/initializers/devise.rb +5 -11
  12. data/documents/app/controllers/documents_controller.rb +1 -0
  13. data/documents/app/models/audio.rb +3 -3
  14. data/documents/app/models/document.rb +1 -3
  15. data/documents/app/models/picture.rb +4 -7
  16. data/documents/app/models/video.rb +2 -9
  17. data/documents/app/views/videos/_video_show.html.erb +1 -1
  18. data/documents/db/migrate/{20120109155431_create_social_stream_documents.rb → 20120208143721_create_social_stream_documents.rb} +0 -2
  19. data/documents/lib/delayed_paperclip/social_stream-documents.rb +7 -12
  20. data/documents/lib/generators/social_stream/documents/install_generator.rb +4 -0
  21. data/documents/lib/generators/social_stream/documents/templates/initializer.rb +26 -0
  22. data/documents/lib/social_stream-documents.rb +29 -0
  23. data/documents/lib/social_stream/documents/dependencies.rb +0 -1
  24. data/documents/lib/social_stream/documents/version.rb +1 -1
  25. data/documents/social_stream-documents.gemspec +4 -4
  26. data/documents/spec/dummy/config/initializers/devise.rb +4 -4
  27. data/events/db/migrate/20120330131859_create_social_stream_events.rb +29 -6
  28. data/events/lib/social_stream/events/version.rb +1 -1
  29. data/events/social_stream-events.gemspec +1 -1
  30. data/lib/social_stream/version.rb +1 -1
  31. data/linkser/app/controllers/links_controller.rb +8 -0
  32. data/linkser/db/migrate/{20111219122952_create_social_stream_linkser.rb → 20120208143739_create_social_stream_linkser.rb} +2 -2
  33. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  34. data/linkser/social_stream-linkser.gemspec +1 -1
  35. data/linkser/spec/dummy/config/initializers/devise.rb +5 -9
  36. data/ostatus/app/decorators/social_stream/base/contact_decorator.rb +3 -0
  37. data/ostatus/lib/social_stream-ostatus.rb +1 -0
  38. data/ostatus/lib/social_stream/ostatus/activity_streams.rb +4 -2
  39. data/ostatus/lib/social_stream/ostatus/models/contact.rb +64 -0
  40. data/ostatus/lib/social_stream/ostatus/models/tie.rb +9 -8
  41. data/ostatus/lib/social_stream/ostatus/version.rb +1 -1
  42. data/ostatus/social_stream-ostatus.gemspec +2 -2
  43. data/presence/db/migrate/20120330132148_create_social_stream_presence.rb +6 -7
  44. data/presence/lib/social_stream/presence/version.rb +1 -1
  45. data/presence/social_stream-presence.gemspec +1 -1
  46. data/social_stream.gemspec +6 -6
  47. data/spec/dummy/config/database.yml +2 -0
  48. data/spec/dummy/config/initializers/devise.rb +4 -8
  49. metadata +22 -33
  50. data/base/db/migrate/20120201185454_singleton_single_relations.rb +0 -46
  51. data/base/db/migrate/20120208135718_group_title_and_description_in_activity_object.rb +0 -54
  52. data/base/db/migrate/20120302215722_activity_object_properties.rb +0 -24
  53. data/base/db/migrate/20120316093946_create_activity_actions.rb +0 -15
  54. data/base/db/migrate/20120316113728_activity_action_follow.rb +0 -23
  55. data/base/db/migrate/20120326083509_object_channels_to_actions.rb +0 -47
  56. data/documents/db/migrate/20120208143721_documents_group_title_and_description_in_activity_object.rb +0 -28
  57. data/documents/lib/paperclip/social_stream-documents.rb +0 -62
  58. data/events/db/migrate/20111218203314_create_events.rb +0 -33
  59. data/events/db/migrate/20120208143756_events_group_title_and_description_in_activity_object.rb +0 -26
  60. data/events/db/migrate/20120208144948_add_events_foreign_key.rb +0 -9
  61. data/linkser/db/migrate/20120202104549_add_links_foreign_key.rb +0 -9
  62. data/linkser/db/migrate/20120208143739_linkser_group_title_and_description_in_activity_object.rb +0 -30
  63. data/presence/db/migrate/20110711111408_add_connected_column_to_user.rb +0 -9
  64. data/presence/db/migrate/20110928135031_add_status_column_to_user.rb +0 -9
  65. data/presence/db/migrate/20111116194112_add_chat_enabled_column_to_user.rb +0 -9
@@ -72,10 +72,6 @@ Devise.setup do |config|
72
72
  # If true, extends the user's remember period when remembered via cookie.
73
73
  # config.extend_remember_period = false
74
74
 
75
- # If true, uses the password salt as remember token. This should be turned
76
- # to false if you are not using database authenticatable.
77
- config.use_salt_as_remember_token = true
78
-
79
75
  # ==> Configuration for :validatable
80
76
  # Range for password length. Default is 6..20.
81
77
  # config.password_length = 6..20
@@ -123,10 +119,6 @@ Devise.setup do |config|
123
119
  # Defines name of the authentication token params key
124
120
  # config.token_authentication_key = :auth_token
125
121
 
126
- # If true, authentication through token does not store user in session and needs
127
- # to be supplied on each request. Useful if you are using the token as API token.
128
- # config.stateless_token = false
129
-
130
122
  # ==> Scopes configuration
131
123
  # Turn scoped views on. Before rendering "sessions/new", it will first check for
132
124
  # "users/sessions/new". It's turned off by default because it's slower if you
@@ -163,6 +155,10 @@ Devise.setup do |config|
163
155
  config.omniauth :linkedin, "ekxfXU8nueVSMQ9fc5KJAryBkyztUlCBYMW3DoQPzbE79WhivvzhQloRNHCHgPeB", "WYiHFT-KKFgjd45W3-pEAficmXRHmN6_6DGwj1C_ZILJlSO1gBvv6VNYXU9tybGY"
164
156
 
165
157
  config.omniauth :facebook, "129571360447856","eef39dce5e20e76f77495c59623bdb38"
158
+
159
+ #re state_less token removal
160
+ #https://github.com/plataformatec/devise/issues/1499
161
+ config.skip_session_storage << :token_auth
166
162
 
167
163
  # ==> Warden configuration
168
164
  # If you want to use other strategies, that are not supported by Devise, or
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-03 00:00:00.000000000 Z
13
+ date: 2012-10-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: social_stream-base
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 0.23.0
22
+ version: 0.24.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: 0.23.0
30
+ version: 0.24.0
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: social_stream-documents
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.17.0
38
+ version: 0.18.0
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 0.17.0
46
+ version: 0.18.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: social_stream-events
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.15.0
54
+ version: 0.16.0
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  requirements:
60
60
  - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 0.15.0
62
+ version: 0.16.0
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: social_stream-linkser
65
65
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  requirements:
68
68
  - - ~>
69
69
  - !ruby/object:Gem::Version
70
- version: 0.14.0
70
+ version: 0.15.0
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -75,7 +75,7 @@ dependencies:
75
75
  requirements:
76
76
  - - ~>
77
77
  - !ruby/object:Gem::Version
78
- version: 0.14.0
78
+ version: 0.15.0
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: social_stream-presence
81
81
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - ~>
85
85
  - !ruby/object:Gem::Version
86
- version: 0.16.0
86
+ version: 0.17.0
87
87
  type: :runtime
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ dependencies:
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- version: 0.16.0
94
+ version: 0.17.0
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: social_stream-ostatus
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -99,7 +99,7 @@ dependencies:
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 0.1.0
102
+ version: 0.2.0
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
@@ -107,7 +107,7 @@ dependencies:
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: 0.1.0
110
+ version: 0.2.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: capybara
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -745,13 +745,7 @@ files:
745
745
  - base/config/locales/rails.es.yml
746
746
  - base/config/locales/rails.pt.yml
747
747
  - base/config/routes.rb
748
- - base/db/migrate/20120111141717_create_social_stream.rb
749
- - base/db/migrate/20120201185454_singleton_single_relations.rb
750
- - base/db/migrate/20120208135718_group_title_and_description_in_activity_object.rb
751
- - base/db/migrate/20120302215722_activity_object_properties.rb
752
- - base/db/migrate/20120316093946_create_activity_actions.rb
753
- - base/db/migrate/20120316113728_activity_action_follow.rb
754
- - base/db/migrate/20120326083509_object_channels_to_actions.rb
748
+ - base/db/migrate/20120326083509_create_social_stream.rb
755
749
  - base/db/migrate/20120403175913_create_activity_object_audiences.rb
756
750
  - base/db/migrate/20120411132550_add_visit_count_to_activity_object.rb
757
751
  - base/db/migrate/20120411151413_relation_public_permissions.rb
@@ -833,6 +827,7 @@ files:
833
827
  - base/lib/social_stream/views/settings/base.rb
834
828
  - base/lib/social_stream/views/sidebar/base.rb
835
829
  - base/lib/social_stream/views/toolbar/base.rb
830
+ - base/lib/tasks/attachments.rake
836
831
  - base/lib/tasks/db/populate.rake
837
832
  - base/lib/tasks/workers.rake
838
833
  - base/lib/thinking-sphinx/social_stream.rb
@@ -1075,11 +1070,10 @@ files:
1075
1070
  - documents/config/locales/en.yml
1076
1071
  - documents/config/locales/es.yml
1077
1072
  - documents/config/routes.rb
1078
- - documents/db/migrate/20120109155431_create_social_stream_documents.rb
1079
- - documents/db/migrate/20120208143721_documents_group_title_and_description_in_activity_object.rb
1073
+ - documents/db/migrate/20120208143721_create_social_stream_documents.rb
1080
1074
  - documents/lib/delayed_paperclip/social_stream-documents.rb
1081
1075
  - documents/lib/generators/social_stream/documents/install_generator.rb
1082
- - documents/lib/paperclip/social_stream-documents.rb
1076
+ - documents/lib/generators/social_stream/documents/templates/initializer.rb
1083
1077
  - documents/lib/samples/car.jpg
1084
1078
  - documents/lib/samples/house.jpg
1085
1079
  - documents/lib/samples/loremipsum.odt
@@ -1200,9 +1194,6 @@ files:
1200
1194
  - events/config/locales/en.yml
1201
1195
  - events/config/locales/es.yml
1202
1196
  - events/config/routes.rb
1203
- - events/db/migrate/20111218203314_create_events.rb
1204
- - events/db/migrate/20120208143756_events_group_title_and_description_in_activity_object.rb
1205
- - events/db/migrate/20120208144948_add_events_foreign_key.rb
1206
1197
  - events/db/migrate/20120330131859_create_social_stream_events.rb
1207
1198
  - events/lib/generators/social_stream/events/install_generator.rb
1208
1199
  - events/lib/social_stream-events.rb
@@ -1259,9 +1250,7 @@ files:
1259
1250
  - linkser/config/locales/en.yml
1260
1251
  - linkser/config/locales/es.yml
1261
1252
  - linkser/config/routes.rb
1262
- - linkser/db/migrate/20111219122952_create_social_stream_linkser.rb
1263
- - linkser/db/migrate/20120202104549_add_links_foreign_key.rb
1264
- - linkser/db/migrate/20120208143739_linkser_group_title_and_description_in_activity_object.rb
1253
+ - linkser/db/migrate/20120208143739_create_social_stream_linkser.rb
1265
1254
  - linkser/lib/generators/social_stream/linkser/install_generator.rb
1266
1255
  - linkser/lib/social_stream-linkser.rb
1267
1256
  - linkser/lib/social_stream/linkser/engine.rb
@@ -1375,6 +1364,7 @@ files:
1375
1364
  - ostatus/app/decorators/social_stream/base/activity_decorator.rb
1376
1365
  - ostatus/app/decorators/social_stream/base/actor_decorator.rb
1377
1366
  - ostatus/app/decorators/social_stream/base/audience_decorator.rb
1367
+ - ostatus/app/decorators/social_stream/base/contact_decorator.rb
1378
1368
  - ostatus/app/decorators/social_stream/base/relation/custom_decorator.rb
1379
1369
  - ostatus/app/decorators/social_stream/base/tie_decorator.rb
1380
1370
  - ostatus/app/models/actor_key.rb
@@ -1395,6 +1385,7 @@ files:
1395
1385
  - ostatus/lib/social_stream/ostatus/models/activity.rb
1396
1386
  - ostatus/lib/social_stream/ostatus/models/actor.rb
1397
1387
  - ostatus/lib/social_stream/ostatus/models/audience.rb
1388
+ - ostatus/lib/social_stream/ostatus/models/contact.rb
1398
1389
  - ostatus/lib/social_stream/ostatus/models/object.rb
1399
1390
  - ostatus/lib/social_stream/ostatus/models/relation/custom.rb
1400
1391
  - ostatus/lib/social_stream/ostatus/models/tie.rb
@@ -1533,9 +1524,6 @@ files:
1533
1524
  - presence/config/locales/en.yml
1534
1525
  - presence/config/locales/es.yml
1535
1526
  - presence/config/routes.rb
1536
- - presence/db/migrate/20110711111408_add_connected_column_to_user.rb
1537
- - presence/db/migrate/20110928135031_add_status_column_to_user.rb
1538
- - presence/db/migrate/20111116194112_add_chat_enabled_column_to_user.rb
1539
1527
  - presence/db/migrate/20120330132148_create_social_stream_presence.rb
1540
1528
  - presence/ejabberd/conf/ejabberd_example.cfg
1541
1529
  - presence/ejabberd/conf/ssconfig_example.cfg
@@ -1718,3 +1706,4 @@ signing_key:
1718
1706
  specification_version: 3
1719
1707
  summary: A core for building social network websites
1720
1708
  test_files: []
1709
+ has_rdoc:
@@ -1,46 +0,0 @@
1
- class SingletonSingleRelations < ActiveRecord::Migration
2
- def up
3
- Tie.record_timestamps = false
4
- Audience.record_timestamps = false
5
-
6
- r_new = Relation::Public.instance
7
-
8
- Relation::Public.all.each do |r|
9
- next if r == r_new
10
-
11
- # Reassign r -> r_new
12
- r.ties.each do |t|
13
- t.update_column(:relation_id, r_new.id)
14
- end
15
-
16
- r.audiences.each do |a|
17
- a.update_column(:relation_id, r_new.id)
18
- end
19
-
20
- # Delete r
21
- r.delete
22
- end
23
-
24
- r_new = Relation::Reject.instance
25
-
26
- Relation::Reject.all.each do |r|
27
- next if r == r_new
28
-
29
- # Reassign r -> r_new
30
- r.ties.each do |t|
31
- t.update_column(:relation_id, r_new.id)
32
- end
33
-
34
- r.audiences.each do |a|
35
- a.update_column(:relation_id, r_new.id)
36
- end
37
-
38
- # Delete r
39
- r.delete
40
- end
41
- end
42
-
43
- def down
44
- raise ActiveRecord::IrreversibleMigration
45
- end
46
- end
@@ -1,54 +0,0 @@
1
- class GroupTitleAndDescriptionInActivityObject < ActiveRecord::Migration
2
- def up
3
- ao_ts = ActivityObject.record_timestamps
4
- ActivityObject.record_timestamps = false
5
-
6
- change_table :activity_objects do |t|
7
- t.string :title, :default => ""
8
- t.text :description
9
- end
10
-
11
- ActivityObject.reset_column_information
12
-
13
- # Fix 'comments' table
14
- c_ts = Comment.record_timestamps
15
- Comment.record_timestamps = false
16
-
17
- Comment.all.each do |c|
18
- # Remove comments that are not properly deleted
19
- # https://github.com/ging/social_stream/issues/213
20
- if c.activity_object.activities.blank?
21
- c.destroy
22
- next
23
- end
24
-
25
- c.activity_object.description = c.read_attribute(:text)
26
- c.save!
27
- end
28
- change_table :comments do |t|
29
- t.remove :text
30
- end
31
- Comment.reset_column_information
32
- Comment.record_timestamps = c_ts
33
-
34
- # Fix 'posts' table
35
- p_ts = Post.record_timestamps
36
- Post.record_timestamps = false
37
-
38
- Post.all.each do |p|
39
- p.activity_object.description = p.read_attribute(:text)
40
- p.save!
41
- end
42
- change_table :posts do |t|
43
- t.remove :text
44
- end
45
- Post.reset_column_information
46
- Post.record_timestamps = p_ts
47
-
48
- ActivityObject.record_timestamps = ao_ts
49
- end
50
-
51
- def down
52
- raise ActiveRecord::IrreversibleMigration # Due to trans-gem oddities
53
- end
54
- end
@@ -1,24 +0,0 @@
1
- class ActivityObjectProperties < ActiveRecord::Migration
2
- def up
3
- create_table :activity_object_properties do |t|
4
- t.integer :activity_object_id
5
- t.integer :property_id
6
- t.string :type
7
-
8
- t.timestamp
9
- end
10
-
11
- add_index "activity_object_properties", "activity_object_id"
12
- add_index "activity_object_properties", "property_id"
13
-
14
- add_foreign_key "activity_object_properties", "activity_objects", :name => "index_activity_object_properties_on_activity_object_id", :column => :activity_object_id
15
- add_foreign_key "activity_object_properties", "activity_objects", :name => "index_activity_object_properties_on_property_id", :column => :property_id
16
- end
17
-
18
- def down
19
- remove_foreign_key "activity_object_properties", :name => "index_activity_object_properties_on_activity_object_id"
20
- remove_foreign_key "activity_object_properties", :name => "index_activity_object_properties_on_property_id"
21
-
22
- drop_table :activity_object_properties
23
- end
24
- end
@@ -1,15 +0,0 @@
1
- class CreateActivityActions < ActiveRecord::Migration
2
- def change
3
- create_table :activity_actions do |t|
4
- t.references :actor
5
- t.references :activity_object
6
-
7
- t.timestamps
8
- end
9
- add_index :activity_actions, :actor_id
10
- add_index :activity_actions, :activity_object_id
11
-
12
- add_foreign_key "activity_actions", "actors", :name => "index_activity_actions_on_actor_id"
13
- add_foreign_key "activity_actions", "activity_objects", :name => "index_activity_actions_on_activity_object_id"
14
- end
15
- end
@@ -1,23 +0,0 @@
1
- class ActivityActionFollow < ActiveRecord::Migration
2
- def up
3
- add_column :activity_actions, :follow, :boolean, :default => false
4
- add_column :activity_objects, :follower_count, :integer, :default => 0
5
- remove_column :actors, :follower_count
6
-
7
- ActivityObject.reset_column_information
8
- Actor.reset_column_information
9
-
10
- Tie.
11
- joins(:relation).
12
- with_permissions('follow', nil).
13
- each do |t|
14
- t.set_follow_action
15
- end
16
- end
17
-
18
- def down
19
- remove_column :activity_actions, :follow
20
- remove_column :activity_objects, :follower_count
21
- add_column :actors, :follower_count, :integer, :default => 0
22
- end
23
- end
@@ -1,47 +0,0 @@
1
- class ObjectChannelsToActions < ActiveRecord::Migration
2
- class Channel < ActiveRecord::Base; end
3
-
4
- def up
5
- add_column :activity_actions, :author, :boolean, :default => false
6
- add_column :activity_actions, :user_author, :boolean, :default => false
7
- add_column :activity_actions, :owner, :boolean, :default => false
8
-
9
- ActivityAction.reset_column_information
10
- ActivityAction.record_timestamps = false
11
- ActivityObject.record_timestamps = false
12
-
13
- ActivityObject.all.each do |ao|
14
- channel = Channel.find ao.channel_id
15
-
16
- %w{ author user_author owner }.each do |role|
17
- next unless channel.__send__ "#{ role }_id"
18
-
19
- ao.__send__"#{ role }_id=", channel.__send__("#{ role }_id")
20
- end
21
-
22
- ao.received_actions.each do |a|
23
- a.created_at = a.updated_at = ao.created_at
24
- end
25
-
26
- ao.save!
27
- end
28
-
29
- remove_foreign_key :activity_objects, :name => "index_activity_objects_on_channel_id"
30
- remove_column :activity_objects, :channel_id
31
-
32
- ActivityObject.reset_column_information
33
-
34
- ActivityAction.record_timestamps = true
35
- ActivityObject.record_timestamps = true
36
- end
37
-
38
- def down
39
- remove_column :activity_actions, :author
40
- remove_column :activity_actions, :user_author
41
- remove_column :activity_actions, :owner
42
-
43
- add_column :activity_objects, :channel_id, :integer
44
- add_index :activity_objects, :channel_id
45
- add_foreign_key :activity_actions, :channel_id, :name => "index_activity_objects_on_channel_id"
46
- end
47
- end