diff --git a/db/migrate/20250127175900_change_commit_deployments_github_id_to_bigint.rb b/db/migrate/20250127175900_change_commit_deployments_github_id_to_bigint.rb new file mode 100644 index 000000000..c4326e3fb --- /dev/null +++ b/db/migrate/20250127175900_change_commit_deployments_github_id_to_bigint.rb @@ -0,0 +1,5 @@ +class ChangeCommitDeploymentsGithubIdToBigint < ActiveRecord::Migration[7.2] + def change + change_column :commit_deployments, :github_id, :bigint + end +end diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index d7b943832..ffd0e1738 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.2].define(version: 2024_08_21_003007) do +ActiveRecord::Schema[7.2].define(version: 2025_01_27_175900) do create_table "api_clients", force: :cascade do |t| t.text "permissions", limit: 65535 t.integer "creator_id", limit: 4 @@ -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", precision: nil, null: false t.datetime "updated_at", precision: nil, null: false