Socket
Book a DemoInstallSign in
Socket

@emigrate/plugin-storage-fs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emigrate/plugin-storage-fs

A storage plugin for Emigrate for storing the migration history in a file

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@emigrate/plugin-storage-fs

A file system storage plugin for Emigrate, suitable for simple migration setups. To support containerized environments, it is recommended to use a database storage plugin instead.

Installation

Install the plugin in your project, alongside the Emigrate CLI:

npm install --save-dev @emigrate/cli @emigrate/plugin-storage-fs

Usage

Configure the plugin in your emigrate.config.js file:

import storageFs from '@emigrate/plugin-storage-fs';

export default {
  directory: 'migrations',
  plugins: [storageFs({ filename: '.migrated.json' })],
};

Keywords

emigrate

FAQs

Package last updated on 17 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts