50 Commits

Author SHA1 Message Date
Prateek Narula
5821b8ac15
FetchCollection changed to FetchAll
beforeFetchCollection will be beforeFetchAll and afterFetchCollection will be afterFetchAll. 
Lifecycle hook variables need to be changed to be inline with mongoose. See https://github.com/strapi/strapi/blob/master/packages/strapi-hook-mongoose/lib/index.js
2019-03-12 17:23:38 +01:00
Jim LAURIE
0ed71140bf
Remove comments 2019-03-11 17:11:53 +01:00
REDDY PRASAD
786e1e00f7 🐛 Fix 'non-constant default' error while addind timestamp field to existing sqlite3 table 2019-03-08 11:33:47 +05:30
Jim LAURIE
8241863444
Merge branch 'master' into enhancement/bigint 2019-03-07 13:42:16 +01:00
Jim LAURIE
1a91bd5ea6 Fix sqlite migration 2019-02-19 09:21:07 +01:00
Jim LAURIE
4e2f976ca0 Fix sqlite migration tmp table 2019-02-18 18:12:34 +01:00
Jim LAURIE
a25c6b5c69
Fix typo 2019-02-16 13:14:09 +01:00
Jim LAURIE
fb04c4dcbe Fix sqlite column update 2019-02-14 16:23:29 +01:00
Sajjad Shirazy
dfead41387 use _.castArray instead, it'll only cast the value to an array if it's not the case already 2019-02-04 12:20:17 +03:30
Sajjad Shirazy
1768bbc209 forgotten pull 2019-02-03 15:10:04 +03:30
Sajjad Shirazy
9453eb3829 Merge branch 'master' of https://github.com/sajjad-shirazy/strapi 2019-02-03 15:08:57 +03:30
Sajjad Shirazy
a9606b6eae Supporintg IN and NOT IN as a filter type 2019-02-03 15:08:36 +03:30
Sajjad Shirazy
4d4d32837c Supporting NOT IN as a filter 2019-02-03 14:04:22 +03:30
Sajjad Shirazy
ec0992b3b9
Supporting NOT IN as a filter 2019-02-02 16:25:03 +03:30
Jim LAURIE
6cbddab6c8 Fix PR feedback 2019-01-31 14:17:52 +01:00
Jim LAURIE
fdcecff2e6 Add test and fix model update 2019-01-31 14:05:59 +01:00
Jim LAURIE
3db3b93fdb
Merge branch 'master' into sqlite-support 2019-01-31 11:15:19 +01:00
DMehaffy
339c756e05
Merge branch 'master' into enhancement/bigint 2019-01-30 23:04:39 -07:00
DMehaffy
590012a8f1 Temp fix for bookshelf bigint 2019-01-30 05:53:10 -07:00
Jim LAURIE
412fcbb298
Merge branch 'master' into sqlite-support 2019-01-24 15:00:19 +01:00
Jim LAURIE
0238257eec Fix get timestamp in the admin 2019-01-23 15:19:34 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327 2019-01-22 13:52:13 +01:00
DMehaffy
b38fc464fe Modify bitint limit to javascript maximum 2019-01-21 08:37:35 -07:00
DMehaffy
53f3550464 fix int and bigint types in bookshelf 2019-01-21 08:00:13 -07:00
DMehaffy
f2870bc8fc Add bigint 2019-01-21 04:35:11 -07:00
Aurélien Georget
b501e8bb1b Resolve conflicts 2019-01-05 20:33:47 +01:00
Pierre Burgy
b1f063abe0 Add JSON support for SQLite 2019-01-03 23:29:30 +01:00
Pierre Burgy
7b6558884e Fix lint error 2019-01-03 22:52:39 +01:00
Pierre Burgy
fddf391e84 Add SQLite support 2018-12-29 21:35:07 +01:00
Chaitanya Choudhary
1c4aafae5b Fixed conditional statement for hasTimestamps 2018-12-28 19:24:24 +05:30
Chaitanya Choudhary
6835fdf426 Handle different types of timestamp values 2018-12-28 17:04:36 +05:30
Chaitanya Choudhary
b04ba69370 Ability to use custom timestamps. 2018-12-28 14:17:12 +05:30
Jim LAURIE
d201072954
Merge branch 'master' into fix-2257 2018-12-12 16:45:44 +01:00
Javier Castro
b0a21b46f0 strapi-hook-bookshelf: minor change for code clarity 2018-12-12 12:36:29 -03:00
Aurélien Georget
e1ce257d2f Revert codebase and apply limit, skip, start and sort parameters 2018-12-06 18:11:53 +01:00
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +01:00
Aurélien Georget
b0aaae9f12 Resolve conflicts 2018-11-27 18:48:37 +01:00
Aurelsicoko
21d21dfc8f Handle single fetch & allow override of default auto-population 2018-11-22 18:32:33 +01:00
Kamal Bennani
e5ce8c1b42
use the new method to generate the collection name 2018-10-28 23:42:19 +01:00
entwicklerfr
bf7809f3dd Add IF NOT EXISTS parameter for creating indexes in postgresql case 2018-10-18 22:34:22 +02:00
Jim LAURIE
99ce46f6bb Delete path on save in sql column generator 2018-10-08 10:40:28 +02:00
Alberto Maturano
2fcab8f9d1 Fix validation for avoid create invalid indexes
Fix the validation introduced with #1950
Fix #1382

Add skip eslint rule to avoid error
2018-09-30 12:22:43 -05:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
Marcello Vetro
7a4453b917 Fix SQL ORM CREATE FULLTEXT INDEX SEARCH Error: If aren't text colums definend in the schema do not lanch the SQL to create the fulltext index. 2018-09-13 18:51:37 +02:00
Alberto Maturano
1a3e01c66f Fix linter errors 2018-08-20 14:37:49 -05:00
KuongKnight
f508da6fce Fixed custom primaryType option 2018-08-02 23:13:38 +07:00
KuongKnight
6c0abfc314 change length to 36 for type uuid mysql 2018-08-02 00:05:29 +07:00
KuongKnight
dd7e6a479c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	packages/strapi-hook-bookshelf/lib/index.js
2018-08-01 14:38:59 +07:00
DMehaffy
c38112ed56 change mysql from text to longtext 2018-07-25 11:04:22 -07:00
Jim LAURIE
cf8184e223 Use hook prefix and rename 2018-07-11 16:23:14 +02:00