-
Notifications
You must be signed in to change notification settings - Fork 22k
Closed
Labels
Description
Steps to reproduce
[email protected]:mito5525/precision_sample_app.git
cd precision_sample_app
bundle install
bin/rails db:drop db:create db:migrate
bin/rails db:schema:dump
git diff
# There is no difference.
bin/rails db:schema:load
bin/rails db:schema:dump
git diffExpected behavior
No diffs in schema.rb
Actual behavior
The following differences will occur
diff --git a/db/schema.rb b/db/schema.rb
index 298ff3e..6d02e6b 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -13,7 +13,7 @@
ActiveRecord::Schema.define(version: 2021_12_17_090228) do
create_table "tasks", charset: "utf8mb4", force: :cascade do |t|
- t.datetime "deleted_at"
+ t.datetime "deleted_at", precision: 6
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
endI think there was a lack of compatibility considerations in #42297.
System configuration
Rails version: v7.0.0
Ruby version: v3.0.3
justisbppworks