From fd4edcfac9041cadfc4c88257555c02736bc4ba4 Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 23 May 2024 16:55:33 -0400 Subject: update routes and params for games --- db/migrate/20240521205000_create_games.rb | 3 ++- db/schema.rb | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'db') 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 -- cgit v1.2.3