esme
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

Esme

if you're happy and you know it, leave a star

created by @vriad

Motivation

Extraordinary schema migration experience

abstract addTable: (action: bus.ducks.addTable.Action) => Promise<boolean>;
abstract dropTable: (action: string) => Promise<boolean>;
abstract addColumn: (action: bus.ducks.addColumn.Action) => Promise<boolean>;
abstract oneToOne: (action: bus.ducks.oneToOne.Action, schema: bus.Schema) => Promise<boolean>;
abstract oneToMany: (action: bus.ducks.oneToMany.Action, schema: bus.Schema) => Promise<boolean>;
abstract manyToMany: (action: bus.ducks.manyToMany.Action, schema: bus.Schema) => Promise<boolean>;
abstract commit: (action: bus.ducks.commit.Action) => Promise<boolean>;
abstract initialize: () => Promise<boolean>;
abstract getCommits: () => Promise<{ namestring; created_atDate }[]>;
abstract beginTransaction: () => Promise<void>;
abstract commitTransaction: () => Promise<void>;
abstract rollbackTransaction: () => Promise<void>;

Readme

Keywords

none

Package Sidebar

Install

npm i esme

Weekly Downloads

36

Version

0.3.5

License

MIT

Unpacked Size

159 kB

Total Files

85

Last publish

Collaborators

  • colinhacks