diff options
| author | realtradam <[email protected]> | 2024-05-15 00:44:53 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-15 00:44:53 -0400 |
| commit | d2ad5924bce17e3b07ee0af86a8739559dac3b35 (patch) | |
| tree | 4d7e4384d15e0617a4b380149c29ffaccbca69fa /db/migrate/20240509225147_create_games.rb | |
| parent | a97531e77e9e3f0e391b2504fcb278cabc2b901e (diff) | |
| download | gameHolster-d2ad5924bce17e3b07ee0af86a8739559dac3b35.tar.gz gameHolster-d2ad5924bce17e3b07ee0af86a8739559dac3b35.zip | |
begin implementing game file upload and also styling
Diffstat (limited to 'db/migrate/20240509225147_create_games.rb')
| -rw-r--r-- | db/migrate/20240509225147_create_games.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20240509225147_create_games.rb b/db/migrate/20240509225147_create_games.rb new file mode 100644 index 0000000..af8f77b --- /dev/null +++ b/db/migrate/20240509225147_create_games.rb @@ -0,0 +1,12 @@ +class CreateGames < ActiveRecord::Migration[7.1] + def change + create_table :games do |t| + t.string :title + #t.text :body + #t.integer :status, default: 0 + #t.references :user, null: false, foreign_key: true + + t.timestamps + end + end +end |
