|
1 | 1 | # frozen_string_literal: true
|
2 |
| -# This file should contain all the record creation needed to seed the database with its default values. |
3 |
| -# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). |
4 |
| -# |
5 |
| -# Examples: |
6 |
| -# |
7 |
| -# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) |
8 |
| -# Character.create(name: 'Luke', movie: movies.first) |
| 2 | +KnownLocation.create(lat: 1.375, lon: 103.839, name: 'ang mo kio', type: 'location') |
| 3 | +KnownLocation.create(lat: 1.321, lon: 103.924, name: 'bedok', type: 'location') |
| 4 | +KnownLocation.create(lat: 1.350772, lon: 103.839, name: 'bishan', type: 'location') |
| 5 | +KnownLocation.create(lat: 1.304, lon: 103.701, name: 'boon lay', type: 'location') |
| 6 | +KnownLocation.create(lat: 1.353, lon: 103.754, name: 'bukit batok', type: 'location') |
| 7 | +KnownLocation.create(lat: 1.277, lon: 103.819, name: 'bukit merah', type: 'location') |
| 8 | +KnownLocation.create(lat: 1.362, lon: 103.77195, name: 'bukit panjang', type: 'location') |
| 9 | +KnownLocation.create(lat: 1.325, lon: 103.791, name: 'bukit timah', type: 'location') |
| 10 | +KnownLocation.create(lat: 1.38, lon: 103.805, name: 'central water catchment', type: 'location') |
| 11 | +KnownLocation.create(lat: 1.357, lon: 103.987, name: 'changi', type: 'location') |
| 12 | +KnownLocation.create(lat: 1.377, lon: 103.745, name: 'choa chu kang', type: 'location') |
| 13 | +KnownLocation.create(lat: 1.315, lon: 103.76, name: 'clementi', type: 'location') |
| 14 | +KnownLocation.create(lat: 1.292, lon: 103.844, name: 'city', type: 'location') |
| 15 | +KnownLocation.create(lat: 1.318, lon: 103.884, name: 'geylang', type: 'location') |
| 16 | +KnownLocation.create(lat: 1.361218, lon: 103.886, name: 'hougang', type: 'location') |
| 17 | +KnownLocation.create(lat: 1.347, lon: 103.67, name: 'jalan bahar', type: 'location') |
| 18 | +KnownLocation.create(lat: 1.326, lon: 103.737, name: 'jurong east', type: 'location') |
| 19 | +KnownLocation.create(lat: 1.266, lon: 103.699, name: 'jurong island', type: 'location') |
| 20 | +KnownLocation.create(lat: 1.34039, lon: 103.705, name: 'jurong west', type: 'location') |
| 21 | +KnownLocation.create(lat: 1.312, lon: 103.862, name: 'kallang', type: 'location') |
| 22 | +KnownLocation.create(lat: 1.423, lon: 103.717332, name: 'lim chu kang', type: 'location') |
| 23 | +KnownLocation.create(lat: 1.419, lon: 103.812, name: 'mandai', type: 'location') |
| 24 | +KnownLocation.create(lat: 1.297, lon: 103.891, name: 'marine parade', type: 'location') |
| 25 | +KnownLocation.create(lat: 1.327, lon: 103.826, name: 'novena', type: 'location') |
| 26 | +KnownLocation.create(lat: 1.37, lon: 103.948, name: 'pasir ris', type: 'location') |
| 27 | +KnownLocation.create(lat: 1.358, lon: 103.914, name: 'paya lebar', type: 'location') |
| 28 | +KnownLocation.create(lat: 1.315, lon: 103.675, name: 'pioneer', type: 'location') |
| 29 | +KnownLocation.create(lat: 1.403, lon: 104.053, name: 'pulau tekong', type: 'location') |
| 30 | +KnownLocation.create(lat: 1.404, lon: 103.96, name: 'pulau ubin', type: 'location') |
| 31 | +KnownLocation.create(lat: 1.401, lon: 103.904, name: 'punggol', type: 'location') |
| 32 | +KnownLocation.create(lat: 1.291, lon: 103.78576, name: 'queenstown', type: 'location') |
| 33 | +KnownLocation.create(lat: 1.404, lon: 103.869, name: 'seletar', type: 'location') |
| 34 | +KnownLocation.create(lat: 1.445, lon: 103.818495, name: 'sembawang', type: 'location') |
| 35 | +KnownLocation.create(lat: 1.384, lon: 103.891443, name: 'sengkang', type: 'location') |
| 36 | +KnownLocation.create(lat: 1.243, lon: 103.832, name: 'sentosa', type: 'location') |
| 37 | +KnownLocation.create(lat: 1.357, lon: 103.865, name: 'serangoon', type: 'location') |
| 38 | +KnownLocation.create(lat: 1.208, lon: 103.842, name: 'southern islands', type: 'location') |
| 39 | +KnownLocation.create(lat: 1.413, lon: 103.756, name: 'sungei kadut', type: 'location') |
| 40 | +KnownLocation.create(lat: 1.345, lon: 103.944, name: 'tampines', type: 'location') |
| 41 | +KnownLocation.create(lat: 1.308, lon: 103.813, name: 'tanglin', type: 'location') |
| 42 | +KnownLocation.create(lat: 1.374, lon: 103.715, name: 'tengah', type: 'location') |
| 43 | +KnownLocation.create(lat: 1.334304, lon: 103.856327, name: 'toa payoh', type: 'location') |
| 44 | +KnownLocation.create(lat: 1.294947, lon: 103.635, name: 'tuas', type: 'location') |
| 45 | +KnownLocation.create(lat: 1.205926, lon: 103.746, name: 'western islands', type: 'location') |
| 46 | +KnownLocation.create(lat: 1.405, lon: 103.689, name: 'western water catchment', type: 'location') |
| 47 | +KnownLocation.create(lat: 1.432, lon: 103.786528, name: 'woodlands', type: 'location') |
| 48 | +KnownLocation.create(lat: 1.418, lon: 103.839, name: 'yishun', type: 'location') |
| 49 | +KnownLocation.create(lat: nil, lon: nil, name: 'north', type: 'region') |
| 50 | +KnownLocation.create(lat: nil, lon: nil, name: 'south', type: 'region') |
| 51 | +KnownLocation.create(lat: nil, lon: nil, name: 'east', type: 'region') |
| 52 | +KnownLocation.create(lat: nil, lon: nil, name: 'west', type: 'region') |
| 53 | +KnownLocation.create(lat: nil, lon: nil, name: 'center', type: 'region') |
| 54 | +KnownLocation.create(lat: nil, lon: nil, name: 'centre', type: 'region') |
| 55 | +KnownLocation.create(lat: nil, lon: nil, name: 'central', type: 'region') |
0 commit comments