Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set precision 6 by default for datetime columns #42297

Merged
merged 1 commit into from Jun 25, 2021

Commits on Jun 25, 2021

  1. Set precision 6 by default for datetime

    💇‍♀️
    
    Set precision 6 by detauls for datime columns when using sqlite3_adapter
    
     Set precision 6 by detauls for datime columns when using postgresql_adapter
    
    Update activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
    
    Co-authored-by: Zachary Scott <zzakscott@gmail.com>
    
    Update tests precision
    
    Add datetime precision by using the migration compatibility layer
    
    Add default precision when adding new column for a table
    
    Fix compatibility tests
    
    Add changelog entry
    
    Update postgres test cases
    
    Custom type does not support precision
    
    Typo ⌨️
    
    Fix specific mysql2 schema
    
    💇‍♀️
    robertomiranda committed Jun 25, 2021
    Copy the full SHA
    c2a6f61 View commit details
    Browse the repository at this point in the history