diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170925013807_create_pokeviewer_locations.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170925013807_create_pokeviewer_locations.rb b/db/migrate/20170925013807_create_pokeviewer_locations.rb new file mode 100644 index 0000000..9070077 --- /dev/null +++ b/db/migrate/20170925013807_create_pokeviewer_locations.rb | |||
@@ -0,0 +1,9 @@ | |||
1 | class CreatePokeviewerLocations < ActiveRecord::Migration[5.1] | ||
2 | def change | ||
3 | create_table :pokeviewer_locations do |t| | ||
4 | t.string :name, null: false | ||
5 | |||
6 | t.timestamps | ||
7 | end | ||
8 | end | ||
9 | end | ||