bcms_feeds 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,15 @@
|
|
1
1
|
class ModifyFeedsTableToUseMediumtext < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
|
-
|
3
|
+
if Feed.connection.adapter_name == 'MySQL'
|
4
|
+
#The postgres text column suffices, and this syntax and column type don't work in pg.
|
5
|
+
execute "ALTER TABLE feeds MODIFY COLUMN contents MEDIUMTEXT"
|
6
|
+
end
|
4
7
|
end
|
5
8
|
|
6
9
|
def self.down
|
7
|
-
|
10
|
+
if Feed.connection.adapter_name == 'MySQL'
|
11
|
+
#The postgres text column suffices, and this syntax and column type don't work in pg.
|
12
|
+
execute "ALTER TABLE feeds MODIFY COLUMN contents TEXT"
|
13
|
+
end
|
8
14
|
end
|
9
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcms_feeds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Leighton
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-05-
|
12
|
+
date: 2010-05-25 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|