diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-21 22:36:24 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-21 22:36:24 -0700 |
| commit | e7902a5ecf47391c50290c06c2df06732a5c6fd0 (patch) | |
| tree | d1f5537104409335450dee659561774e912e8701 /db/migrate | |
| parent | b50a9b42f1cddc78f75f75913f39bd19fbf4d8d5 (diff) | |
create location model.
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20140222053352_create_locations.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140222053352_create_locations.rb b/db/migrate/20140222053352_create_locations.rb new file mode 100644 index 0000000..c5faa93 --- /dev/null +++ b/db/migrate/20140222053352_create_locations.rb @@ -0,0 +1,11 @@ +class CreateLocations < ActiveRecord::Migration + def change + create_table :locations do |t| + t.uuid :license_id + t.float :latitude + t.float :longitude + t.string :township + t.timestamps + end + end +end |
