|
3 | 3 |
|
4 | 4 | ## unreleased
|
5 | 5 |
|
6 |
| -> 2021-08-26 |
| 6 | +> 2021-08-28 |
7 | 7 |
|
8 | 8 | ### :art: Structure/Formating
|
9 | 9 |
|
@@ -36,6 +36,8 @@ changes access to sugar functions and store it in lib. It was weird typing out `
|
36 | 36 |
|
37 | 37 | ### :bug: Bug Fixes
|
38 | 38 |
|
| 39 | +- <a href="https://github.com/tami5/sql.nvim/commit/1778aa857367c17c1468cc85a64fcda542b5c252"><tt>1778aa8</tt></a> (parser) only check when type is table (closes <a href="https://github.com/tami5/sql.nvim/issues/103"> #103</a>) |
| 40 | + |
39 | 41 | <dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/1c88610b902c122560fdd28683b101c755853a8e"><tt>1c88610</tt></a> extended tables referencing mutable db object + other fixes (<a href="https://github.com/tami5/sql.nvim/pull/00">#100</a>) (closes <a href="https://github.com/tami5/sql.nvim/issues/101"> #101</a>, <a href="https://github.com/tami5/sql.nvim/issues/99"> #99</a>)</summary>
|
40 | 42 |
|
41 | 43 | - `table.extend` reference db object instead of `db.extend`ed object.
|
@@ -78,6 +80,32 @@ No breaking changes here :)
|
78 | 80 |
|
79 | 81 | ### :sparkles: Features
|
80 | 82 |
|
| 83 | +<dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/25748dd0f8947533fe4cff14d8900ae30f774241"><tt>25748dd</tt></a> auto alter table key definition (<a href="https://github.com/tami5/sql.nvim/pull/03">#103</a>)</summary> |
| 84 | + |
| 85 | +Support for modifying schema key definitions without wasting the table content. It has little support for renaming, in fact, renaming should be avoided for the time being. |
| 86 | + |
| 87 | +✨ New: |
| 88 | + - `db:execute` for executing statement without any return. |
| 89 | + - emmylua classes`SqlSchemaKeyDefinition` and `SqliteActions`. |
| 90 | + - when a key has default, then all the columns with nulls will be replaced with the default. |
| 91 | + - support for auto altering key to reference a foreign key. |
| 92 | + |
| 93 | +🐛 Fixes |
| 94 | + - when a foreign_keys is enabled on a connection, closing and opening disables it. |
| 95 | + |
| 96 | +♻️ Changes |
| 97 | + - rename `db.sqlite_opts` to `db.opts`. |
| 98 | + |
| 99 | +✅ Added Tests |
| 100 | + - auto alter: simple rename with idetnical number of keys |
| 101 | + - auto alter: simple rename with idetnical number of keys with a key turned to be required |
| 102 | + - auto alter: more than one rename with idetnical number of keys |
| 103 | + - auto alter: more than one rename with idetnical number of keys + default without required = true |
| 104 | + - auto alter: transform to foreign key |
| 105 | + - auto alter: pass sqlite.org tests |
| 106 | + |
| 107 | +</details></dd></dl> |
| 108 | + |
81 | 109 | <dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/73d8fa60e1037d0a8b58c898ed641430d8b0c0c4"><tt>73d8fa6</tt></a> dot access for extended tbl object (<a href="https://github.com/tami5/sql.nvim/pull/92">#92</a>)</summary>
|
82 | 110 |
|
83 | 111 | Changes:
|
|
0 commit comments