Displaying 1 result from an estimated 1 matches for "fk_user_login_history_us".
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
...table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered (id),
constraint fk_user_login_history_users foreign key (user_id) references
users(id)
)
ruby script/console
>> Time.now
=> Mon Dec 19 14:39:53 Central Standard Time 2005
>> ulh = UserLoginHistory.new({:user_id=>1})
=> #<UserLoginHistory:0x3a0cde8 @attributes={"created_on"=>Sat Jan 01
00:00:00 Central...