class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
- t.interger :affiliation_id, :null => true
+ t.integer :affiliation_id, :null => true
t.string :matriculation_number, :null => true, :limit => 100
t.string :name, :null => true, :limit => 200
t.string :email, :null => true, :limit => 200