Class: Genesis::CreateSchemaSeeds

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/genesis/create_schema_seeds.rb

Class Method Summary collapse

Class Method Details

.downObject



11
12
13
# File 'lib/genesis/create_schema_seeds.rb', line 11

def self.down
  drop_table :schema_seeds
end

.upObject



3
4
5
6
7
8
9
# File 'lib/genesis/create_schema_seeds.rb', line 3

def self.up
  options = {}
  options.merge!(:guid => false) if defined?( UsesguidMigrations )
  create_table :schema_seeds, options do |t|
    t.string :seed_version
  end
end