Sha256: e778309d9170236e26ceeeedf04fc3a8a5469e87c907118f9bd3a144199cab53

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :login
      t.string :name
      t.datetime :updated_at
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
resty-generators-0.7.3 lib/generators/resty/setup/templates/create_users.rb
resty-generators-0.7.2 lib/generators/resty/setup/templates/create_users.rb
resty-generators-0.7.1 lib/generators/resty/setup/templates/create_users.rb