diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-12 21:50:00 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-12 21:50:00 -0400 |
| commit | 7789e2138fc0479846c20bc68d68973636a4a760 (patch) | |
| tree | ef14af7a0a6e0de8f086a2b2db877840eb48904c /db/migrate/20190312193154_create_games.rb | |
| parent | 7a2d945f581c8ce9e322883ec597366143fe10cb (diff) | |
| download | thoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.gz thoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.bz2 thoughts-7789e2138fc0479846c20bc68d68973636a4a760.zip | |
Started game tracker
Diffstat (limited to 'db/migrate/20190312193154_create_games.rb')
| -rw-r--r-- | db/migrate/20190312193154_create_games.rb | 13 |
1 files changed, 13 insertions, 0 deletions
| diff --git a/db/migrate/20190312193154_create_games.rb b/db/migrate/20190312193154_create_games.rb new file mode 100644 index 0000000..de30492 --- /dev/null +++ b/db/migrate/20190312193154_create_games.rb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | class CreateGames < ActiveRecord::Migration[5.2] | ||
| 2 | def change | ||
| 3 | create_table :games do |t| | ||
| 4 | t.string :title | ||
| 5 | t.string :status | ||
| 6 | t.text :progress | ||
| 7 | t.text :description | ||
| 8 | t.integer :score | ||
| 9 | |||
| 10 | t.timestamps | ||
| 11 | end | ||
| 12 | end | ||
| 13 | end | ||
