class CreateDataMigrations
This migration comes from seed_migration (originally 20140310150145)
Public Instance Methods
down()
click to toggle source
# File lib/pineapples/templates/db/migrate/02_create_data_migrations.rb, line 11 def down drop_table SeedMigration.migration_table_name end
up()
click to toggle source
# File lib/pineapples/templates/db/migrate/02_create_data_migrations.rb, line 3 def up create_table SeedMigration.migration_table_name do |t| t.string :version t.integer :runtime t.datetime :migrated_on end end