Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created session table migration #9908

Merged
merged 1 commit into from Sep 27, 2018
Merged

Created session table migration #9908

merged 1 commit into from Sep 27, 2018

Conversation

allouis
Copy link
Contributor

@allouis allouis commented Sep 26, 2018

refs #9865

  • sessions table
  • database migration

This table will be used for storing user sessions in

This will be used by the session service, for creating and reading sessions :)

refs #9865

This table will be used for storing user sessions in
@@ -0,0 +1,35 @@
const common = require('../../../../lib/common');

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

id: {type: 'string', maxlength: 24, nullable: false, primary: true},
session_id: {type: 'string', maxlength: 32, nullable: false, unique: true},
user_id: {type: 'string', maxlength: 24, nullable: false},
session_data: {type: 'string', maxlength: 2000, nullable: false},

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@kirrg001 kirrg001 merged commit 1d17f2a into TryGhost:master Sep 27, 2018
@allouis allouis deleted the sessions-table-migration branch September 27, 2018 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants