diff --git a/migrations/2019-02-20-054109_create_login_history_table/up.sql b/migrations/2019-02-20-054109_create_login_history_table/up.sql index 70118d7..74fc9af 100644 --- a/migrations/2019-02-20-054109_create_login_history_table/up.sql +++ b/migrations/2019-02-20-054109_create_login_history_table/up.sql @@ -2,6 +2,6 @@ CREATE TABLE login_history ( id SERIAL PRIMARY KEY NOT NULL, - user_id BIGINT NOT NULL REFERENCES users(id), + user_id INTEGER NOT NULL REFERENCES users(id), login_timestamp TIMESTAMP WITH TIME ZONE NOT NULL -); \ No newline at end of file +);