Sha256: 484bbe0d887c7e3b9666d080fea7df3563e32ba6ad78dfc3efafa8dadfae8ee6

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :archer_history do |t|
      t.string :user
      t.text :commands
      t.datetime :updated_at
    end

    add_index :archer_history, :user, unique: true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
archer-rails-1.0.0 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.4.1 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.4.0 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.3.0 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.2.3 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.2.2 lib/generators/archer/templates/migration.rb.tt
archer-rails-0.2.1 lib/generators/archer/templates/migration.rb.tt