Commit graph

76 commits

Author SHA1 Message Date
Joby Elliott
0d1677a9b4
Schema management (#1)
* saves schemas to database, uses those schemas - still need to finish methods for update/add/remove operations on columns, for updating schemas

* fix for schema table creation

* possible test fixes

* possibly working, dropped some non-integration tests that didn't work with schema changes

* seems working, but still needs schema updating

* mysql's schema updates seem to be working

* mariadb driver tests

* change to how saving schema for createTable works

* very basic tests for schema management

* test that schemas are updated in schema table
2020-08-29 15:28:45 -06:00
bc3fe54e1c updated readme, new Search helper methods 2020-08-28 09:36:21 -06:00
fc506d38a2 update to readme 2020-08-27 11:46:13 -06:00
7b125b4d92 SQLite support for virtual columns 2020-08-27 11:42:11 -06:00
5e9b8b0078 cleanup, examples 2020-08-26 11:53:27 -06:00
a452a5f90b removing defunct tests 2020-08-26 10:02:24 -06:00
d99c09e575 exception error mode actually won't work 2020-08-26 09:58:08 -06:00
5526097af4 Merge branch 'main' of github.com:jobyone/destructr into main 2020-08-26 09:53:06 -06:00
4bf591804c style fixes, create table fixes, MariaDB fixes 2020-08-26 09:52:25 -06:00
e088cc47aa fixing test 2020-07-23 12:10:17 -06:00
922eac342d removing incorrect references 2020-07-23 12:05:52 -06:00
62102fbf9f tests are working again 2020-06-23 16:00:20 -06:00
5b8d557f19 trying to break travis tests to verify 2020-06-23 15:58:55 -06:00
9a9f052c1a attempting to run tests in travis 2020-06-23 15:56:28 -06:00
Joby Elliott
45c7053db0 Update Search.php 2020-01-07 18:26:26 +00:00
Joby Elliott
770c413d7f new quote method for strings 2020-01-07 18:15:33 +00:00
Joby Elliott
94a87f91fa adding counting methods 2019-10-17 09:35:31 -06:00
Joby Elliott
d5ed2af885 Update README.md 2019-08-23 17:04:13 +00:00
Joby Elliott
39537ba978 Fix for preprocessSearch losing limit/offset 2019-04-01 16:38:58 +00:00
Joby Elliott
fd366a1297 added $sneaky arg to update()
this new argument allows update hooks to be skipped (for example, to 
avoid updating updated date for migration-type tasks)
2019-03-13 12:27:46 -06:00
Joby Elliott
a388c15650 fixing tests 2019-03-13 10:04:00 -06:00
Joby Elliott
385f6c2b89 Allow instantiation with existing PDOs 2019-03-13 09:50:51 -06:00
Joby Elliott
7f70b8839e updated readme 2019-03-06 11:20:26 -07:00
Joby Elliott
b6c9da5890 Update README.md 2019-01-12 05:50:53 +00:00
Joby Elliott
9eae36c1b0 Update README.md 2019-01-12 05:49:18 +00:00
ef9cd13b18 Fixed a merge/set bug with falsey values
Also copied the basic FlatArray tests from Flatrr, to help avoid future 
regressions to FlatArray behavior.
2019-01-11 18:41:44 -07:00
Joby Elliott
c72b1e3ada specify mysql version because of an auth problem 2018-11-06 10:20:55 -07:00
Joby Elliott
5f47889800 squelch array to string conversions in JSON_EXTRACT 2018-11-05 13:23:58 -07:00
Joby Elliott
4bddaea0a8 Merge branch '1-primary-keys-in-ddls'
because I accidentally lost these changes in some weird merges
2018-09-25 11:37:45 -06:00
Joby Elliott
9558cca950 Merge branch 'master' of gitlab.com:byjoby/destructr 2018-09-25 11:31:11 -06:00
Joby Elliott
ddce5a8275 PERSISTENT is STORED in MySQL 2018-09-25 11:20:17 -06:00
Joby Elliott
8677ce5857 pick whether virtual columns are persistent or virtual based on primary 2018-09-25 11:07:14 -06:00
Joby Elliott
29559fb18f get more information on failed createTable test 2018-09-25 11:03:41 -06:00
Joby Elliott
1f839dba3b trying to fix MySQL CI 2018-09-25 10:57:29 -06:00
Joby Elliott
e13aca5503 initial commit with primary keys 2018-09-25 10:49:54 -06:00
Joby Elliott
1ea866da71 Merge branch 'develop' into 'master'
merging CI and nailed-down drivers

See merge request byjoby/destructr!2
2018-09-19 21:20:20 +00:00
Joby Elliott
3168f4ad11 merging CI and nailed-down drivers 2018-09-19 21:20:20 +00:00
Joby Elliott
feed01b327 squash mysterious notice coming out of fetchAll() 2018-09-19 15:14:32 -06:00
Joby Elliott
22602cffd2 renaming mysql tests 2018-09-14 12:19:55 -06:00
Joby Elliott
c9938955f9 attempt at getting MySQL tests working 2018-09-14 12:17:54 -06:00
Joby Elliott
03826b87d6 reorganizing tests 2018-09-14 12:04:28 -06:00
Joby Elliott
068a89d451 stop supporting MySQL 5.6
using SQLite is a much better plan, if you don't have MySQL 5.7+
2018-09-14 11:57:17 -06:00
Joby Elliott
56751bc4c4 trying to get just sqlite tests to work 2018-09-14 11:52:10 -06:00
Joby Elliott
4d5a712b18 Merge branch 'develop' into feature/ci 2018-09-14 11:06:17 -06:00
Joby Elliott
ece33e2ff2 updating dependency versions 2018-09-14 11:02:03 -06:00
Joby Elliott
d7ee949a6a squelch notice 2018-08-23 16:28:20 -06:00
Joby Elliott
e66f8f8df6 needs to actually test on 7.1 2018-08-21 20:27:05 -06:00
Joby Elliott
de18730209 actually it does need php 7.1
there are nullable return type hints
2018-08-21 20:22:33 -06:00
Joby Elliott
d1c6c1eaae testing in php 7.0 2018-08-21 20:19:34 -06:00
Joby Elliott
3bf4ad9ea8 remove php version requirement 2018-08-21 20:11:25 -06:00