11 Commits

Author SHA1 Message Date
Vicente Canales
da54cf1ecf
Prefer void as return type on migration generator ts stub (#3865)
The liberal use of `any` is frowned upon by some default tslint
configurations. That combined with the fact the these functions don't
need to return anything, makes it reasonable to use `void` over `any`
for the return type.
2020-05-22 20:48:38 +02:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Mikael Lepistö
7140a48226 Remove generated lib from repository and run build in prepublish 2016-01-21 09:59:30 +02:00
Sky Morey
7c1120e0e2 in progress 2015-12-08 11:37:31 -06:00
Jake Russo
18f543b35d Add Earl Grey support
Add stubs for migrate, knexfile, and seed in Earl Grey. Add `.eg`
extension in  migrate and seed js files and `eg` filetype in cli js
file.

Remove dot from eg string

Update build files

Change cli to executable

Update js-interpret for earl-grey
2015-07-28 23:44:56 -05:00
John BEPPU
a0a6ab9cd5 added LiveScript migrations correctly #903
- reverted changes made to lib/
- changed the right files in src
- ran `babel -L -D -w src/ --out-dir lib/` to generate files
  from src/ to lib/
- committed files from src/ and their counterparts in lib/
  together as one commit
2015-07-27 10:40:43 -07:00
Tim Griesser
521a6f9e97 Remove use strict, assumed in ES6 2015-05-09 14:01:19 -04:00
Tim Branyen
56d73165cb Adds trailing commas to seed stubs
I just started started using the seed feature of knex, which is awesome!
I thought it might be nice to add a trailing comma to make it easier to
copy/paste new lines.

Just a minor tweak.
2015-05-03 13:41:56 -04:00
Hanam Do
c57facd3a7 Use 2 space indentation for seed stubs
Consistent with indentation for migrations

Closes #745
2015-03-22 11:57:14 -07:00
Noah Santorello
3a25c5ec58 Sample seed files now correctly return Promises tgriesser/knex#391 2014-10-13 04:12:29 -04:00
Noah Santorello
f8d01e9901 Initial commit of seed functionality 2014-07-21 09:42:56 -04:00