File: migration.rb

package info (click to toggle)
ruby-state-machine 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,764 kB
  • ctags: 6,623
  • sloc: ruby: 26,008; makefile: 11
file content (7 lines) | stat: -rw-r--r-- 150 bytes parent folder | download
1
2
3
4
5
6
7
class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :name, :state, :access_state
    end
  end
end