Commit Graph

512 Commits

Author SHA1 Message Date
Ariel Mashraki
e8e96f014f add charset support for fields
Summary: Basically, adding support for Hebrew characters.

Reviewed By: alexsn

Differential Revision: D16068537

fbshipit-source-id: 4e934da5ea97c9e804317f746556ab1d51faebcc
2019-07-01 08:10:24 -07:00
Ariel Mashraki
37ae2b744e add offset step to query builder (#1049)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1049

Useful for real paging

Reviewed By: noamsch

Differential Revision: D16003607

fbshipit-source-id: 6a85d0e3d71a2582bc3cd8f1d66748dda4f2a10e
2019-06-26 01:43:59 -07:00
Alex Snast
6c2813b7b5 correctly emit sql db stats
Reviewed By: a8m

Differential Revision: D15984447

fbshipit-source-id: b762fdd2507b3b51630f10a2e14812dd3d028029
2019-06-25 04:57:38 -07:00
Ariel Mashraki
84be4c5653 mysql configuration for logging and conntimeout
Reviewed By: alexsn

Differential Revision: D15973145

fbshipit-source-id: c8baa475318dff7c80aacee4c9f90651084e20e8
2019-06-25 02:16:46 -07:00
Ariel Mashraki
0e605681b2 quote table name on DESCRIBE statement (#7)
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/7

avoid conflicting with reserved words (e.g. "groups" became reserved word in MySQL 8.x)

Reviewed By: alexsn

Differential Revision: D15957279

fbshipit-source-id: b6944752c7e5f6ec37119b11cc0ab8a0d7d3a7ff
2019-06-23 01:51:28 -07:00
Ariel Mashraki
5ca9494121 enable sql dialect option on integration env (#1014)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1014

Pull Request resolved: https://github.com/facebookincubator/ent/pull/6

Reviewed By: alexsn

Differential Revision: D15928002

fbshipit-source-id: 4b5a639405f218f6b6cc90d152380d2fc9525a3f
2019-06-21 05:15:52 -07:00
Ariel Mashraki
970a410b31 add tests for sqlite migration
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/5

Reviewed By: alexsn

Differential Revision: D15875669

fbshipit-source-id: 5ddebe396b9683f364e91f2f9e6296e3659ff618
2019-06-18 10:55:48 -07:00
Ariel Mashraki
5f0268e02c add tests for mysql migration
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/4

Reviewed By: alexsn

Differential Revision: D15874726

fbshipit-source-id: 217fbc0503e961704ea646ee40663a30211c5af1
2019-06-18 10:11:00 -07:00
Facebook Community Bot
12fa91f946 Adding Contributing file (#1)
Summary:
This is pull request was created automatically because we noticed your project was missing a Contributing file.

CONTRIBUTING files explain how a developer can contribute to the project - which you should actively encourage.

This PR was crafted with love by Facebook's Open Source Team.
Pull Request resolved: https://github.com/facebookincubator/ent/pull/1

Differential Revision: D15854211

Pulled By: a8m

fbshipit-source-id: 74183c87f887dd858a21d8cde4a14117e611fddd
2019-06-17 08:23:39 -07:00
Facebook Community Bot
adb78dd08a Adding Code of Conduct file (#2)
Summary:
This is pull request was created automatically because we noticed your project was missing a Code of Conduct file.

Code of Conduct files facilitate respectful and constructive communities by establishing expected behaviors for project contributors.

This PR was crafted with love by Facebook's Open Source Team.
Pull Request resolved: https://github.com/facebookincubator/ent/pull/2

Differential Revision: D15854207

Pulled By: a8m

fbshipit-source-id: d942a8fe42fe8556123248dcc8d386b0f429474e
2019-06-17 08:23:39 -07:00
Ariel Mashraki
4f31aa6cfe imporve sql migration (#3)
Summary:
Pull Request resolved: https://github.com/facebookincubator/ent/pull/3

add an append-only mode to the migration

Reviewed By: alexsn

Differential Revision: D15845370

fbshipit-source-id: f22ae1866d4bb9250bf2d1c6cba476d574a3f45d
2019-06-17 04:23:24 -07:00
facebook-github-bot
267e3c15bd Initial commit
fbshipit-source-id: c79a38536e3c128dce1b2948615b72ec9779ed22
2019-06-16 04:37:51 -07:00