Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions db/migrate/20250207203053_embiggen_github_ids.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class EmbiggenGithubIds < ActiveRecord::Migration[7.2]
def change
change_column(:commit_deployments, :github_id, :bigint)
change_column(:github_hooks, :github_id, :bigint)
change_column(:teams, :github_id, :bigint)
change_column(:users, :github_id, :bigint)
end
end
10 changes: 5 additions & 5 deletions test/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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_08_21_003007) do
ActiveRecord::Schema[7.2].define(version: 2025_02_07_203053) do
create_table "api_clients", force: :cascade do |t|
t.text "permissions", limit: 65535
t.integer "creator_id", limit: 4
Expand Down Expand Up @@ -51,7 +51,7 @@
create_table "commit_deployments", force: :cascade do |t|
t.integer "commit_id"
t.integer "task_id"
t.integer "github_id"
t.bigint "github_id"
t.string "api_url"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Expand Down Expand Up @@ -133,7 +133,7 @@

create_table "github_hooks", force: :cascade do |t|
t.integer "stack_id", limit: 4
t.integer "github_id", limit: 4
t.bigint "github_id"
t.string "event", limit: 50, null: false
t.datetime "created_at"
t.datetime "updated_at"
Expand Down Expand Up @@ -340,7 +340,7 @@
end

create_table "teams", force: :cascade do |t|
t.integer "github_id", limit: 4
t.bigint "github_id"
t.string "api_url", limit: 255
t.string "slug", limit: 255
t.string "name", limit: 255
Expand All @@ -351,7 +351,7 @@
end

create_table "users", force: :cascade do |t|
t.integer "github_id", limit: 4
t.bigint "github_id"
t.string "name", limit: 255, null: false
t.string "email", limit: 255
t.string "login", limit: 39
Expand Down