scaffold_plus 1.7.8 → 1.7.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d92d54b1ededafa0c8d51b9ef5e9601bb908f7d
|
4
|
+
data.tar.gz: 485df74a3fbe76fe896a4328d1672a319d892aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb677aab644abf3ae6be94db440c657568245080ac711f63743c6702c33905d290812f03a89a4d37aabf38ec47139758ad66d3a0bb893506a7e0a559b4e5e5ec
|
7
|
+
data.tar.gz: 4218d0092e7576404d6d04973c1308f1dba8360e303686c786956c4a4be93ead42e9577e53bc577f2680f7ca9b7d009d9c9b97419ed191f68a1fa3bd717944b5
|
@@ -4,6 +4,7 @@ class <%= migration_name.camelize %> < ActiveRecord::Migration
|
|
4
4
|
add_column :<%= table_name %>, :<%= options.longitude %>, :float
|
5
5
|
<%- if options.address? -%>
|
6
6
|
add_column :<%= table_name %>, :address, :string
|
7
|
+
add_column :<%= table_name %>, :country, :string
|
7
8
|
<%- end -%>
|
8
9
|
add_index :<%= table_name %>, :<%= options.latitude %>
|
9
10
|
add_index :<%= table_name %>, :<%= options.longitude %>
|