diff options
| author | realtradam <[email protected]> | 2024-06-07 00:19:18 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-06-07 00:19:18 -0400 |
| commit | de44507f2a75e36c4cea05f250f0f3d24e1dd123 (patch) | |
| tree | 10bc5973c62203693199a59ccb6327cb77107559 /db/schema.rb | |
| parent | 22c1d8d71de2bd52513f684196fa66a53e7362aa (diff) | |
| download | gameHolster-de44507f2a75e36c4cea05f250f0f3d24e1dd123.tar.gz gameHolster-de44507f2a75e36c4cea05f250f0f3d24e1dd123.zip | |
add tags
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 58a01aa..f4cabcc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_05_27_231908) do +ActiveRecord::Schema[7.1].define(version: 2024_06_06_200659) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -47,13 +47,30 @@ ActiveRecord::Schema[7.1].define(version: 2024_05_27_231908) do t.string "title" t.string "titleSlug" t.string "description" + t.string "github_link" t.string "img_rendering" + t.integer "status", default: 0 + t.integer "order", default: 0 t.datetime "created_at", null: false t.datetime "updated_at", null: false t.bigint "user_id", null: false t.index ["user_id"], name: "index_games_on_user_id" end + create_table "games_tags", id: false, force: :cascade do |t| + t.bigint "tag_id", null: false + t.bigint "game_id", null: false + t.index ["game_id"], name: "index_games_tags_on_game_id" + t.index ["tag_id"], name: "index_games_tags_on_tag_id" + end + + create_table "tags", force: :cascade do |t| + t.string "tag_type", null: false + t.string "name", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "users", force: :cascade do |t| t.string "user_name" t.string "identifier" |
