Skip to content

Commit 6ecc4c2

Browse files
committed
commit_deployments github id to bigint
1 parent 9731257 commit 6ecc4c2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class ChangeCommitDeploymentsGithubIdToBigint < ActiveRecord::Migration[7.2]
2+
def change
3+
change_column :commit_deployments, :github_id, :bigint
4+
end
5+
end

test/dummy/db/schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.2].define(version: 2024_08_21_003007) do
13+
ActiveRecord::Schema[7.2].define(version: 2025_01_27_175900) do
1414
create_table "api_clients", force: :cascade do |t|
1515
t.text "permissions", limit: 65535
1616
t.integer "creator_id", limit: 4
@@ -51,7 +51,7 @@
5151
create_table "commit_deployments", force: :cascade do |t|
5252
t.integer "commit_id"
5353
t.integer "task_id"
54-
t.integer "github_id"
54+
t.bigint "github_id"
5555
t.string "api_url"
5656
t.datetime "created_at", precision: nil, null: false
5757
t.datetime "updated_at", precision: nil, null: false

0 commit comments

Comments
 (0)