RubyGems
npm
Organizations
Log in
Sign up
RubyGems
uuid_it
Versions diffs
0.0.2 → 0.0.3
uuid_it 0.0.2 → 0.0.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/generators/uuid_it/templates/create_uuids.rb
+1
-1
metadata
+2
-2
data/generators/uuid_it/templates/create_uuids.rb
CHANGED
Viewed
@@ -5,7 +5,7 @@ class CreateUuids < ActiveRecord::Migration
5
5
t.integer :uuidable_id
6
6
t.string :uuidable_type, :limit => 40
7
7
end
8
-
add_index :uuids, :uuidable_id
8
+
add_index :uuids,
[
:uuidable_id
, :uuidable_type]
9
9
end
10
10
11
11
def self.down
metadata
CHANGED
Viewed
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
segments:
6
6
- 0
7
7
- 0
8
-
-
2
9
-
version: 0.0.
2
8
+
-
3
9
+
version: 0.0.
3
10
10
platform: ruby
11
11
authors:
12
12
- "Andr\xC3\xA9 Duffeck"