just throwin there
This commit is contained in:
commit
278d7cf05d
2 changed files with 5712 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE IF EXISTS `features_vkadslead_clientauth`;
|
||||
DROP TABLE IF EXISTS `features_vkadslead_formsync`;
|
||||
19
migrations/2025-09-10-144245_init_feature_vkadslead/up.sql
Normal file
19
migrations/2025-09-10-144245_init_feature_vkadslead/up.sql
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS `features_vkadslead_clientauth` (
|
||||
`instance` TEXT NOT NULL PRIMARY KEY,
|
||||
`client_id` TEXT NOT NULL,
|
||||
`access_token` TEXT NOT NULL,
|
||||
`ctime` TIMESTAMP NOT NULL,
|
||||
`expires_in` INTEGER,
|
||||
`refresh_token` TEXT,
|
||||
`scope` TEXT,
|
||||
`token_type` TEXT NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `features_vkadslead_formsync` (
|
||||
`instance_id` TEXT NOT NULL,
|
||||
`form_id` TEXT NOT NULL,
|
||||
`stime` TIMESTAMP NOT NULL,
|
||||
PRIMARY KEY (`instance_id`, `form_id`),
|
||||
FOREIGN KEY (`instance_id`) REFERENCES `features_vkadslead_clientauth` (`instance`)
|
||||
);
|
||||
Loading…
Reference in a new issue