Sha256: fc9ced187a70007c21ea9b4167086d8b46606137ea6fdd712500513dc08c5252

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[5.2]
  def change
    create_table :users do |t|
      t.string :name
      t.string :email
      t.string :mobile
      t.timestamps
    end unless table_exists?(:users)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_audit-1.0.2 test/dummy/db/migrate/20180916100159_create_users.rb
rails_audit-1.0.1 test/dummy/db/migrate/20180916100159_create_users.rb