Skip to content

Commit c5adeab

Browse files
Update for ecto_sql 3.6.0 (#21)
* Update for ecto_sql 3.6.0 * Rename changelog * Adds alternate repo test since we can not support CONCAT * fork repo.exs and remove old forks, add exclusion for :placeholders * bump minimum ecto_sql version to 3.6 due to change in lock_for_migrations * fix warn Co-authored-by: Kevin Lang <me@gnalck.com>
1 parent 91468e2 commit c5adeab

File tree

13 files changed

+2046
-1814
lines changed

13 files changed

+2046
-1814
lines changed

CHANGELOG renamed to CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog][keepachangelog], and this project
66
adheres to [Semantic Versioning][semver].
77

88
## [Unreleased]
9+
- Upgrade `ecto_sql` dependency to 3.6.0
10+
- Removed old `Ecto.Adapters.SQLite3.Connection.insert/6` was replaced with
11+
`Ecto.Adapters.SQLite3.Connection.insert/7`.
912

1013
## [0.5.3] - 2021-03-20
1114
- Added `collate:` opts support to `:string` column type

integration_test/all_test.exs

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@ Code.require_file "#{ecto}/integration_test/cases/joins.exs", __DIR__
55
Code.require_file "#{ecto}/integration_test/cases/preload.exs", __DIR__
66
Code.require_file "#{ecto}/integration_test/cases/repo.exs", __DIR__
77
Code.require_file "#{ecto}/integration_test/cases/windows.exs", __DIR__
8+
Code.require_file "#{ecto}/integration_test/cases/interval.exs", __DIR__
9+
Code.require_file "#{ecto}/integration_test/cases/type.exs", __DIR__
810

9-
# Since sqlite does not have microsecond precision we forked these tests
10-
# and added some additionals tests for datetime types
11-
Code.require_file "./ecto/interval.exs", __DIR__
12-
13-
# we also added some fixes to their decimal precision tests
14-
# we also added the :like_match_blob tag
15-
Code.require_file "./ecto/type.exs", __DIR__
16-
11+
# add :concat tag, waiting for 3.6.1 release
12+
Code.require_file "./ecto/repo.exs", __DIR__
1713

1814
ecto_sql = Mix.Project.deps_paths()[:ecto_sql]
1915
# Code.require_file "#{ecto_sql}/integration_test/sql/lock.exs", __DIR__
@@ -23,9 +19,5 @@ Code.require_file "#{ecto_sql}/integration_test/sql/sql.exs", __DIR__
2319
Code.require_file "#{ecto_sql}/integration_test/sql/stream.exs", __DIR__
2420
Code.require_file "#{ecto_sql}/integration_test/sql/subquery.exs", __DIR__
2521
Code.require_file "#{ecto_sql}/integration_test/sql/transaction.exs", __DIR__
26-
27-
# added :modify_column and :alter_foreign_key
28-
Code.require_file "./ecto_sql/migration.exs", __DIR__
29-
30-
# added :prefix and :lock_for_migrations
31-
Code.require_file "./ecto_sql/migrator.exs", __DIR__
22+
Code.require_file "#{ecto_sql}/integration_test/sql/migration.exs", __DIR__
23+
Code.require_file "#{ecto_sql}/integration_test/sql/migrator.exs", __DIR__

integration_test/ecto/interval.exs

Lines changed: 0 additions & 423 deletions
This file was deleted.

0 commit comments

Comments
 (0)