Class: CreateCargoWikiUsers

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/cargo_wiki/templates/create_cargo_wiki_users.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
# File 'lib/generators/cargo_wiki/templates/create_cargo_wiki_users.rb', line 2

def change
  create_table :cargo_wiki_users do |t|
    t.string :username
    t.string :password_digest

    t.timestamps
  end
end