Commit Graph

44 Commits (46ae6620981061da6c0e17df30c59a69fa2e6ac3)

Author SHA1 Message Date
Stas Lysikov cf53a224e1
feat: add starrocks dialect (#810) 2024-09-18 05:49:10 -04:00
Michael Fridman f13ed7399e
Revert "feat: add duckdb support (#696)" (#717) 2024-03-13 08:46:24 -04:00
Damian Peckett fb7ca2d3c8
feat: add duckdb support (#696)
Signed-off-by: Damian Peckett <damian@pecke.tt>
2024-02-14 22:06:26 -05:00
Avinash Sajjanshetty 14c93ad1bc
feat: add native Turso support (#658) 2023-12-16 08:14:52 -05:00
Michael Fridman 669263905c
Create an alias for Dialect from database.Dialect (#636) 2023-11-10 08:59:51 -05:00
Nazim 0c243fb3c9
feat(database): Add YDB support (#592) 2023-10-25 08:32:20 -04:00
Michael Fridman ccfb885423
feat(experimental): goose provider with unimplemented methods (#596) 2023-10-06 23:53:26 -04:00
Michael Fridman 87592390b9
fix: use global table name in queries (#515) 2023-05-08 08:17:14 -04:00
Ffaen ba6e5fb6f0
Add 'sqlserver' to dialects as an alias of mssql (#510) 2023-05-02 10:37:16 -04:00
Stephen Blackstone 49c55f0f98
feat: add support for azuresql dialect (#487) 2023-03-28 23:15:15 -04:00
Michael Fridman c462979327
refactor: create a generic store and stub out dialect queries (#477) 2023-03-14 08:34:47 -04:00
Maxim Krasilnikov ad90652042
clickhouse: set mutations_sync 2 for delete version (#454) 2023-01-27 09:39:06 -05:00
Bob Pace b5826417d9
Adds vertica driver support (#393) 2022-12-04 20:57:54 -05:00
Systemnick f30eb6d8c5
Update deprecated query in createVersionTableSQL for new ClickHouse versions since 22.7 (#408) 2022-10-21 09:22:52 -04:00
Michael Fridman 4ec294d599
clickhouse: remove hard-coded verb in dialect (#370) 2022-06-20 20:55:31 -04:00
Michael Fridman 1b45f3781e
e2e: add clickhouse and update v2 (#369) 2022-06-19 20:58:01 -04:00
Maxim Krasilnikov e8d93a0734
clickhouse: Fixed get db version query (#240) 2022-06-18 13:54:46 -04:00
kafkiansky c05d3375c8
Fixing clickhouse dialect placeholders (#333)
Co-authored-by: v.zanfir <v.zanfir@corp.mail.ru>
2022-04-23 22:49:57 -04:00
Michael Fridman cc7f02265a
Replace mattn/go-sqlite3 with modernc.org/sqlite (CGo-free port of SQLite) (#290) 2021-11-25 19:39:36 -05:00
Gohryt 4148551f3e
option to use pgx instead pq (#283) 2021-11-23 20:01:32 -05:00
Konstantin Grigorev e976a731b4
fix clickhouse goose table name (#270) 2021-08-20 22:54:08 -04:00
Huy Nguyen 954940e3ab add clickhouse support 2020-04-11 00:51:35 +07:00
Aleksei Maslov 6896ffb1dd renamed sqlserver to mssql. 2019-05-15 13:25:09 +08:00
Aleksei Maslov ea2101beb3 added mssql support. 2019-04-12 17:25:30 +08:00
Vojtech Vitek 144142af9d Fix Redshift dialect #146 2019-03-06 00:14:39 -05:00
1vn f93e0e2376 remove unused sql 2018-11-26 15:12:15 -05:00
1vn 540204beb1 fix dialects 2018-11-26 15:11:23 -05:00
1vn 66bba2f050 fix sql 2018-11-26 10:55:25 -05:00
1vn 1dd31552aa delete row on db-down 2018-11-23 16:54:36 -05:00
1vn 286883adf5 add db fix as well 2018-10-30 16:51:07 -04:00
1vn 45eeb19d7d add fix and timestamp default 2018-10-30 16:45:45 -04:00
Maxim Krasilnikov 3676559dc0 Rename goose db version table name to tableName 2018-05-02 14:24:15 +03:00
Maxim Krasilnikov 0639337e0b Added ability to change db version table name 2018-04-29 14:14:14 +03:00
Simon Wikstrand 340bf96224
Changed incorrect comment from copy paste 2017-12-01 18:51:55 +01:00
Simon Wikstrand 19673d2b47
Added a dialect for TiDB 2017-12-01 18:50:38 +01:00
Nicholas Duffy abb2957c5d Update formatting per PR comments
Also rename `VersionId` to `VersionID`
2017-05-08 11:01:48 -06:00
Nicholas Duffy fc368fe618 Reformat code to adhere to gofmt standards 2017-05-07 07:02:54 -06:00
Nicholas Duffy 1d402b32ff Add Redshift driver support
Redshift can be accessed and `up`/`down` SQL executed with the `pq`
library by default, however, the `createVersionTableSql` of the `PostgresDialect`
is not compatible with Redshift due to the `serial` datatype and `now()` default on.

This PR creates a new Redshift dialect. The dialect still uses the `pq` library and
only updates the SQL in `createVersionTableSql` to be compatible with Redshift.

Closes #32.
2017-05-03 17:41:20 -06:00
Vojtech Vitek (V-Teq) ae64375f29 Remove go-sqlite3 dependency from goose pkg 2016-03-07 15:55:05 -05:00
Vojtech Vitek (V-Teq) 59f7a561cb Refactor commands 2016-03-03 14:46:04 -05:00
Vojtech Vitek (V-Teq) 47e4c98a97 Move lib/goose into top level pkg 2016-02-26 14:50:27 -05:00
Liam Staskawicz 381d1ac678 wip (not building): begin restructuring into separate cmd and lib packages, to allow external applications to make use of goose's internal functionality. part of #6. 2013-09-30 13:38:02 -07:00
Liam Staskawicz bab8917da5 dialect: use insertVersionSql() to ensure txn.Exec() args are handled properly in each dialect 2013-07-08 23:37:30 -07:00
Liam Staskawicz 66fbe2d01a dialect: introduce layer to implement SQL-specific queries for internal goose operations 2013-04-07 17:51:48 -07:00