diff options
| author | realtradam <[email protected]> | 2024-05-23 16:55:33 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-23 16:55:33 -0400 |
| commit | fd4edcfac9041cadfc4c88257555c02736bc4ba4 (patch) | |
| tree | 934d02f213f3cd07b19cf77a6868ab05e3bf271b /db | |
| parent | 6cf41b4a5c55c91974e31ac032d969c7481b3e80 (diff) | |
| download | gameHolster-fd4edcfac9041cadfc4c88257555c02736bc4ba4.tar.gz gameHolster-fd4edcfac9041cadfc4c88257555c02736bc4ba4.zip | |
update routes and params for games
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20240521205000_create_games.rb | 3 | ||||
| -rw-r--r-- | db/schema.rb | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/db/migrate/20240521205000_create_games.rb b/db/migrate/20240521205000_create_games.rb index 61f5bab..236c070 100644 --- a/db/migrate/20240521205000_create_games.rb +++ b/db/migrate/20240521205000_create_games.rb @@ -3,7 +3,8 @@ class CreateGames < ActiveRecord::Migration[7.1] create_table :games do |t| t.string :title t.string :titleSlug - #t.text :body + t.string :description + t.string :img_rendering #t.integer :status, default: 0 #t.integer :order, default: 0 diff --git a/db/schema.rb b/db/schema.rb index a9b05b0..cee805e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -45,6 +45,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_05_21_205000) do create_table "games", force: :cascade do |t| t.string "title" t.string "titleSlug" + t.string "description" + t.string "img_rendering" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.bigint "user_id", null: false |
