diff --git a/db/migrate/20210511211357_change_bytes_to_big_int.rb b/db/migrate/20210511211357_change_bytes_to_big_int.rb new file mode 100644 index 00000000..4db65308 --- /dev/null +++ b/db/migrate/20210511211357_change_bytes_to_big_int.rb @@ -0,0 +1,5 @@ +class ChangeBytesToBigInt < ActiveRecord::Migration[6.1] + def change + change_column :build_stats, :bytes, :bigint + end +end diff --git a/db/schema.rb b/db/schema.rb index 2a93c5f1..eeb90ac6 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.define(version: 2021_04_14_152728) do +ActiveRecord::Schema.define(version: 2021_05_11_211357) do # Could not dump table "access_logs" because of following StandardError # Unknown type '' for column 'id' @@ -57,7 +57,7 @@ ActiveRecord::Schema.define(version: 2021_04_14_152728) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "deploy_id" - t.integer "bytes" + t.bigint "bytes" t.float "seconds" t.string "action", null: false t.text "log"