about summary refs log tree commit diff stats
path: root/db/migrate/20190312193154_create_games.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190312193154_create_games.rb')
-rw-r--r--db/migrate/20190312193154_create_games.rb13
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 @@
1class 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
13end