Sha256: 0a728d42cae303c4b287a58d6abfda04e3efd5e57c85b8f82d57f6b8a000004d
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
class CreateDataMigrations < ActiveRecord::Migration def self.up create_table :data_migrations do |t| t.string :version, :null => false end add_index :data_migrations, :version, :unique => true, :name => "<%= ActiveRecord::Base.table_name_prefix %>unique_data_migrations<%= ActiveRecord::Base.table_name_suffix %>" end def self.down drop_table :data_migrations end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
data_migrate-1.0.0 | lib/generators/data_migrate/install/templates/install_migration.rb |