unidom-geo-china 1.0.1 → 1.0.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4677dc9b04bb881de11541d1c19dda7d5b17bbca8ba81238b89304b3660a953f
|
4
|
+
data.tar.gz: 76092b6a738538d1b66a4ec0b2824f2080893f6322b86f4c4a11bd93bd207e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b23addeeda638fb9b937d1b71c2ae6e3c3c90f4274cbfc991a4378caa7eb034f05a219ac000f7d8442e5484d312a061340d866b8b3d7309aa2c90c20a448f3c
|
7
|
+
data.tar.gz: e7e378200d1d6ad76414ff1cfbc19d1e856afd1bed647b35791f0b2b85cb84e77010af0e585ed06b89639e37110fc690266d5d9d645ab19d169290238f87844a
|
@@ -4,7 +4,8 @@ class CreateUnidomChinaTowns < ActiveRecord::Migration[6.0]
|
|
4
4
|
|
5
5
|
create_table :unidom_china_towns, id: :uuid do |t|
|
6
6
|
|
7
|
-
t.references :region, type: :uuid, null: false
|
7
|
+
t.references :region, type: :uuid, null: false,
|
8
|
+
foreign_key: false
|
8
9
|
|
9
10
|
t.column :numeric_code, 'char(9)', null: false, default: '0'*9
|
10
11
|
|
@@ -24,7 +25,7 @@ class CreateUnidomChinaTowns < ActiveRecord::Migration[6.0]
|
|
24
25
|
|
25
26
|
end
|
26
27
|
|
27
|
-
add_index :unidom_china_towns, :region_id
|
28
|
+
# add_index :unidom_china_towns, :region_id
|
28
29
|
add_index :unidom_china_towns, :numeric_code
|
29
30
|
|
30
31
|
end
|