Created
June 21, 2019 20:16
-
-
Save JoaoVagner/045f7c5c44102e55f14e5240e1ec53be to your computer and use it in GitHub Desktop.
sql.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE wp_woocommerce_api_keys ( | |
key_id int NOT NULL identity(1,1), | |
user_id int NOT NULL, | |
description nvarchar(max) NULL, | |
permissions nvarchar(10) NOT NULL, | |
consumer_key nvarchar(64) NOT NULL, | |
consumer_secret nvarchar(43) NOT NULL, | |
nonces nvarchar(max) NULL, | |
truncated_key nvarchar(7) NOT NULL, | |
last_access datetime2 NULL default null, | |
constraint wp_woocommerce_api_keys_PK PRIMARY KEY (key_id) | |
) | |
GO | |
CREATE INDEX wp_woocommerce_api_keys_IDX1 on wp_woocommerce_api_keys (consumer_key) | |
GO | |
CREATE INDEX wp_woocommerce_api_keys_IDX2 on wp_woocommerce_api_keys (consumer_secret) | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment