Registry / database / dm-migrations

dm-migrations

JSON →
library1.2.0rbrubygemsunverified

A DataMapper plugin for writing and running database migrations.

gem install dm-migrations
INSTALL
IMPORT
SIG · DM-MIGRATIONS
D
dm-migrations
databaserubyv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DataMapper::Migrations
✓ require 'dm-migrations'

Create and run a database migration with DataMapper.

require 'dm-migrations' # Define a migration: migration 1, :create_articles do up do create_table :articles do column :id, Serial column :title, String end end down do drop_table :articles end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Bingbot
1
Resources
dm-migrations — gem install dm-migrations · libregistry