Sha256: 70cd5df64b19a70a07ad846d74936e032c9c8abfcdca04f3cbe62d88843426a1

Contents?: true

Size: 330 Bytes

Versions: 9

Compression:

Stored size: 330 Bytes

Contents

class CreateBackupTables < ActiveRecord::Migration
  def self.up
    create_table :backup do |t|
      t.string :storage
      t.string :trigger
      t.string :adapter
      t.string :filename
      t.string :path
      t.string :bucket
      t.timestamps          
    end
  end

  def self.down
    drop_table :backup
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
backup-2.3.1 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.3.0.3 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.3.0.2 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.3.0.1 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.3.0 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.2.1 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.2.0 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.1.2 generators/backup/templates/migrations/create_backup_tables.rb
backup-2.1.1 generators/backup/templates/migrations/create_backup_tables.rb