Skip to content

Commit 3ad172b

Browse files
committed
Fix audit fields
1 parent 3ef44df commit 3ad172b

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ CREATE TABLE `KyteScriptVersion` (
4040
`kyte_account` int unsigned NOT NULL,
4141

4242
-- Audit fields
43-
`created_by` int NOT NULL,
43+
`created_by` int DEFAULT NULL,
4444
`date_created` bigint unsigned,
45-
`modified_by` int NOT NULL,
45+
`modified_by` int DEFAULT NULL,
4646
`date_modified` bigint unsigned,
47-
`deleted_by` int NOT NULL,
47+
`deleted_by` int DEFAULT NULL,
4848
`date_deleted` bigint unsigned,
4949
`deleted` tinyint(1) NOT NULL DEFAULT 0,
5050

@@ -66,11 +66,11 @@ CREATE TABLE `KyteScriptVersionContent` (
6666
`kyte_account` int unsigned NOT NULL,
6767

6868
-- Audit fields
69-
`created_by` int NOT NULL,
69+
`created_by` int DEFAULT NULL,
7070
`date_created` bigint unsigned,
71-
`modified_by` int NOT NULL,
71+
`modified_by` int DEFAULT NULL,
7272
`date_modified` bigint unsigned,
73-
`deleted_by` int NOT NULL,
73+
`deleted_by` int DEFAULT NULL,
7474
`date_deleted` bigint unsigned,
7575
`deleted` tinyint(1) NOT NULL DEFAULT 0,
7676

@@ -103,11 +103,11 @@ CREATE TABLE `KyteFunctionVersion` (
103103
`kyte_account` int unsigned NOT NULL,
104104

105105
-- Audit fields
106-
`created_by` int NOT NULL,
106+
`created_by` int DEFAULT NULL,
107107
`date_created` bigint unsigned,
108-
`modified_by` int NOT NULL,
108+
`modified_by` int DEFAULT NULL,
109109
`date_modified` bigint unsigned,
110-
`deleted_by` int NOT NULL,
110+
`deleted_by` int DEFAULT NULL,
111111
`date_deleted` bigint unsigned,
112112
`deleted` tinyint(1) NOT NULL DEFAULT 0,
113113

@@ -128,11 +128,11 @@ CREATE TABLE `KyteFunctionVersionContent` (
128128
`kyte_account` int unsigned NOT NULL,
129129

130130
-- Audit fields
131-
`created_by` int NOT NULL,
131+
`created_by` int DEFAULT NULL,
132132
`date_created` bigint unsigned,
133-
`modified_by` int NOT NULL,
133+
`modified_by` int DEFAULT NULL,
134134
`date_modified` bigint unsigned,
135-
`deleted_by` int NOT NULL,
135+
`deleted_by` int DEFAULT NULL,
136136
`date_deleted` bigint unsigned,
137137
`deleted` tinyint(1) NOT NULL DEFAULT 0,
138138

@@ -205,11 +205,11 @@ CREATE TABLE `KytePageVersion` (
205205
`kyte_account` int unsigned NOT NULL,
206206

207207
-- Audit fields
208-
`created_by` int NOT NULL,
208+
`created_by` int DEFAULT NULL,
209209
`date_created` bigint unsigned,
210-
`modified_by` int NOT NULL,
210+
`modified_by` int DEFAULT NULL,
211211
`date_modified` bigint unsigned,
212-
`deleted_by` int NOT NULL,
212+
`deleted_by` int DEFAULT NULL,
213213
`date_deleted` bigint unsigned,
214214
`deleted` tinyint(1) NOT NULL DEFAULT 0,
215215

@@ -234,11 +234,11 @@ CREATE TABLE `KytePageVersionContent` (
234234
`kyte_account` int unsigned NOT NULL,
235235

236236
-- Audit fields
237-
`created_by` int NOT NULL,
237+
`created_by` int DEFAULT NULL,
238238
`date_created` bigint unsigned,
239-
`modified_by` int NOT NULL,
239+
`modified_by` int DEFAULT NULL,
240240
`date_modified` bigint unsigned,
241-
`deleted_by` int NOT NULL,
241+
`deleted_by` int DEFAULT NULL,
242242
`date_deleted` bigint unsigned,
243243
`deleted` tinyint(1) NOT NULL DEFAULT 0,
244244

0 commit comments

Comments
 (0)