151 Commits

Author SHA1 Message Date
Jim LAURIE
6203bdc200 Fix json store object 2018-07-04 18:08:42 +02:00
Jim LAURIE
d17def7a12 Add options to disable auto table/column creation 2018-07-04 17:23:04 +02:00
Jim LAURIE
bc7f210771 Improve SQL table creation/update performance 2018-07-04 16:20:44 +02:00
Jim LAURIE
383538e44b
Merge branch 'master' into review-logs 2018-07-03 17:35:08 +02:00
Jim LAURIE
b186cad7e9 PR feedback 2018-06-26 14:18:31 +02:00
Jim LAURIE
2f882faf1e Use longtext 2018-06-26 13:42:14 +02:00
Jim LAURIE
7bcebb3caa Review generate app logs 2018-06-22 15:25:15 +02:00
Jim LAURIE
b7fe5f7821 Optimize code 2018-06-20 20:47:45 +02:00
Jim LAURIE
75c1c4bac5 Fix JSON type format SQL fix #1425 2018-06-20 16:21:09 +02:00
DMehaffy
22157f3b70 Add oneWay type 2018-06-13 05:15:55 -07:00
Aurelsicoko
60e0c6dcdb Generate GIN indexes for Postgres database and handle search query 2018-06-07 17:16:19 +02:00
Aurelsicoko
846e14c036 Add search query and create index for text columns (MySQL support) 2018-06-07 16:14:04 +02:00
soupette
e7357e025c Handle delete many with models from users-permissions 2018-06-06 16:20:52 +02:00
soupette
92600ab7b0 Handle bulk action for bookshelf 2018-06-06 12:47:29 +02:00
Jim Laurie
c82ba4c089 Fix decimal on pg an mysql fix #1273 2018-06-04 18:22:21 +02:00
Jim LAURIE
3d3d75b135
Merge branch 'master' into test-suits 2018-06-03 20:59:57 +02:00
Jim Laurie
f284c5d3e0 Fix PR feedback 2018-06-01 15:49:08 +02:00
Jim Laurie
676334d03d Launch test with mongo postgres and mysql 2018-06-01 14:31:30 +02:00
Jim Laurie
5d8a24a010 Fix add multi column for mysql fix #1241 2018-05-31 12:03:24 +02:00
Jim Laurie
24e0a038c8 Add missing requirement 2018-05-16 18:17:13 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +02:00
Jim LAURIE
f4905a9b2e
Merge branch 'master' into enhance/relations 2018-05-14 17:33:37 +02:00
cyril lopez
1f019c60c3
Merge branch 'master' into eslint 2018-05-14 11:50:32 +02:00
Aurelsicoko
eeb27c8eac Rework one-to-one business logic and use getValuePrimaryKey with Bookshelf 2018-05-11 11:47:27 +02:00
DMehaffy
e32cbabaf8
Modify float for Postgres support
Added check for Postgres, which will use `double precision` in Postgres, MySQL will use `double`
2018-05-09 12:11:25 -07:00
Aurelsicoko
c7f871745a Fix findOne user, many-to-many relationship loss and remove relation business logic from CM 2018-05-09 16:57:16 +02:00
Aurelsicoko
7e7b0f1d2f Move relation management into a separate file for Bookshelf 2018-05-09 16:08:58 +02:00
DMehaffy
680c7377fc fix1148
Update MySQL float data type from `float` to `double` to properly store large float values.
2018-05-09 02:28:17 -07:00
DMehaffy
0a2272515a
Update Strapi-Bookshelf to create enumeration columns
Added a case for strapi bookshelf to create a varchar(255) column for enumeration values, inline to match how string columns are made.
2018-05-08 11:00:57 -07:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
soupette
e9f68a3bc9 Lint in strapi-bookshelf 2018-05-04 17:29:44 +02:00
Aurelsicoko
add8d47a86 Improve the check of the database tables 2018-05-03 12:45:02 +02:00
Aurelsicoko
ce3d52d73e Fix single upload with Bookshelf 2018-05-02 16:15:36 +02:00
Jim Laurie
b82cfc4676 Change email and password as string 2018-04-27 16:29:18 +02:00
Jim Laurie
ee75653cdd Handle required 2018-04-27 16:07:18 +02:00
Jim Laurie
d986cb4cc8 Fix relation table creation 2018-04-27 14:53:09 +02:00
Jim Laurie
8adc8ec200 Diff text / string 2018-04-27 14:17:50 +02:00
Jim Laurie
a6c0616dfc Handle update type 2018-04-27 13:47:09 +02:00
Jim Laurie
1ee8d9b30a Fix PR feedback - handle type float 2018-04-26 13:47:40 +02:00
Jim Laurie
7488434f42 Remove updated and created at from model attributes 2018-04-25 12:25:20 +02:00
Jim Laurie
8d2a46cd0c Fix conflict timestamp 2018-04-25 11:06:12 +02:00
Jim Laurie
ad32122a27 Create many to many table 2018-04-24 17:48:15 +02:00
Jim Laurie
efdcc4cde9 Fix morph table creation 2018-04-24 16:19:17 +02:00
Jim Laurie
d6c16f2373 Add comments and clean code 2018-04-24 15:34:26 +02:00
Jim Laurie
1ae9e65b42 Upload setup in bookshelf and create morph tables 2018-04-24 15:24:48 +02:00
Jim Laurie
79ddc27cb1 U&P setup in bookshelf and handle oneToMany relation 2018-04-24 14:29:28 +02:00
Jim Laurie
b34ac11e10 Create table and create missing columns from strapi-bookshelf 2018-04-23 18:58:48 +02:00
Aurelsicoko
892f9d1291 Update Mongoose template & support one-way in generated API 2018-04-23 16:57:59 +02:00
Jim Laurie
23bdc2e885 Add validation if database is not empty 2018-04-23 14:32:56 +02:00
Jim Laurie
413ce2535a Error message for sever connection or database creation 2018-04-20 17:30:56 +02:00