• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

frappe / frappe / 17828
56%

Build:
DEFAULT BRANCH: develop
Ran 21 Sep 2018 05:01AM UTC
Jobs 4
Files 937
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
17828

push

travis-ci

surajshetty3416
Postgres support for Frappe (#5919)

* [start] postgres

* [wip] started refactoring db_schema

* Add psycopg2 to requirements.txt

* Add support for Postgres SQL

- Separate frameworkSQL, database, schema, setup_db file for
mariaDB and postgres
- WIP

* Remove quotes from sql to make it compatible with postgres as well

* Moved some code from db_schema to database.py

* Move code from db_schema to schema.py

Add other required refactoring

* Add schema chages

* Remove redundant code in file

* Add invalid column name exception class to exceptions.py

* Add back tick in query wherever needed and replace ifnull with coalesce

* Update get_column_description code in database.py file

* Remove a print statement

* Add keys to get on_duplicate query

* Add bactick wherever necessary

- Remove db_schema.py file

* Remove DATE_SUB as it is incompatible with postgres

- Fix prepare_filter_condition

* Add backtick and quotes wherever necessary
- Move get_database_size to frappe.db namespace
- fix some left out bugs and errors

* Add code to create key and unique index
- added mysql and posgres in their respective database.py

* Add more bacticks in queries and fix some errors
- Pass keys to on_duplicate_update method
- Replace MONTH with EXTRACT function
- Remove DATEDIFF and CURDATE usage

* Cast state value to int in toggle_two_factor_auth
- since two_factor_auth has the datatype of Int

* Refactor
- Replace Timediff with normal arithmetic operator
- Add MAX_COLUMN_LENGTH
- Remove Redundant code
- Add regexp character constant
- Move create_help_table to database.py
- Add get_full_text_search_condition method
- Inherit MariaDBTable from DBTable

* Replace Database instance with get_db method

* Move db_manager to separate file

* Refactor
- Remove some unwanted code
- Separate alter table code for postgres and mysql
- Replace data_type with column_type in database.py

* Make fullte... (continued)

17235 of 38242 relevant lines covered (45.07%)

1.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17828.1 (DB=mariadb) 21 Sep 2018 05:01AM UTC 0
44.61
Travis Job 17828.1
2 17828.2 (DB=mariadb) 21 Sep 2018 05:02AM UTC 0
44.62
Travis Job 17828.2
3 17828.3 (DB=postgres) 21 Sep 2018 05:01AM UTC 0
44.63
Travis Job 17828.3
4 17828.4 (DB=postgres) 21 Sep 2018 05:08AM UTC 0
Travis Job 17828.4
Source Files on build 17828
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17828
  • 2e6a2026 on github
  • Prev Build on develop (#17820)
  • Next Build on develop (#17838)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc