@@ -22,18 +22,16 @@ exports[`db_meta_modules should have all expected module tables 1`] = `
2222 " rls_module" ,
2323 " secrets_module" ,
2424 " sessions_module" ,
25- " table_module" ,
2625 " table_template_module" ,
2726 " user_auth_module" ,
2827 " users_module" ,
29- " uuid_module" ,
3028 ],
3129}
3230` ;
3331
3432exports [` db_meta_modules should verify all module tables exist in metaschema_modules_public schema 1` ] = `
3533{
36- " moduleTablesCount" : 24 ,
34+ " moduleTablesCount" : 22 ,
3735 " totalTables" : 27 ,
3836}
3937` ;
@@ -42,7 +40,7 @@ exports[`db_meta_modules should verify emails_module table structure 1`] = `
4240{
4341 " columns" : [
4442 {
45- " column_default" : " uuid_generate_v4 ()" ,
43+ " column_default" : " uuidv7 ()" ,
4644 " column_name" : " id" ,
4745 " data_type" : " uuid" ,
4846 " is_nullable" : " NO" ,
@@ -91,7 +89,7 @@ exports[`db_meta_modules should verify field_module table structure 1`] = `
9189{
9290 " columns" : [
9391 {
94- " column_default" : " uuid_generate_v4 ()" ,
92+ " column_default" : " uuidv7 ()" ,
9593 " column_name" : " id" ,
9694 " data_type" : " uuid" ,
9795 " is_nullable" : " NO" ,
@@ -150,15 +148,14 @@ exports[`db_meta_modules should verify field_module table structure 1`] = `
150148
151149exports [` db_meta_modules should verify module table structures have database_id foreign keys 1` ] = `
152150{
153- " constraintCount" : 72600 ,
151+ " constraintCount" : 64152 ,
154152}
155153` ;
156154
157155exports [` db_meta_modules should verify module tables have proper foreign key relationships 1` ] = `
158156{
159- " constraintCount" : 104821 ,
157+ " constraintCount" : 91658 ,
160158 " foreignTables" : [
161- " apis" ,
162159 " database" ,
163160 " field" ,
164161 " schema" ,
@@ -171,7 +168,7 @@ exports[`db_meta_modules should verify sessions_module table structure 1`] = `
171168{
172169 " columns" : [
173170 {
174- " column_default" : " uuid_generate_v4 ()" ,
171+ " column_default" : " uuidv7 ()" ,
175172 " column_name" : " id" ,
176173 " data_type" : " uuid" ,
177174 " is_nullable" : " NO" ,
@@ -252,7 +249,7 @@ exports[`db_meta_modules should verify specific module table column defaults 1`]
252249 " column_name" : " auth_settings_table_id" ,
253250 },
254251 {
255- " column_default" : " uuid_generate_v4 ()" ,
252+ " column_default" : " uuidv7 ()" ,
256253 " column_name" : " id" ,
257254 },
258255 {
@@ -286,7 +283,7 @@ exports[`db_meta_modules should verify specific module table column defaults 1`]
286283 ],
287284 " usersDefaults" : [
288285 {
289- " column_default" : " uuid_generate_v4 ()" ,
286+ " column_default" : " uuidv7 ()" ,
290287 " column_name" : " id" ,
291288 },
292289 {
@@ -313,72 +310,11 @@ exports[`db_meta_modules should verify specific module table column defaults 1`]
313310}
314311` ;
315312
316- exports [` db_meta_modules should verify table_module table structure 1` ] = `
317- {
318- " columns" : [
319- {
320- " column_default" : " uuid_generate_v4()" ,
321- " column_name" : " id" ,
322- " data_type" : " uuid" ,
323- " is_nullable" : " NO" ,
324- },
325- {
326- " column_default" : null ,
327- " column_name" : " database_id" ,
328- " data_type" : " uuid" ,
329- " is_nullable" : " NO" ,
330- },
331- {
332- " column_default" : " uuid_nil()" ,
333- " column_name" : " schema_id" ,
334- " data_type" : " uuid" ,
335- " is_nullable" : " NO" ,
336- },
337- {
338- " column_default" : " uuid_nil()" ,
339- " column_name" : " table_id" ,
340- " data_type" : " uuid" ,
341- " is_nullable" : " NO" ,
342- },
343- {
344- " column_default" : null ,
345- " column_name" : " table_name" ,
346- " data_type" : " text" ,
347- " is_nullable" : " YES" ,
348- },
349- {
350- " column_default" : null ,
351- " column_name" : " node_type" ,
352- " data_type" : " text" ,
353- " is_nullable" : " NO" ,
354- },
355- {
356- " column_default" : " true" ,
357- " column_name" : " use_rls" ,
358- " data_type" : " boolean" ,
359- " is_nullable" : " NO" ,
360- },
361- {
362- " column_default" : " '{}'::jsonb" ,
363- " column_name" : " data" ,
364- " data_type" : " jsonb" ,
365- " is_nullable" : " NO" ,
366- },
367- {
368- " column_default" : null ,
369- " column_name" : " fields" ,
370- " data_type" : " ARRAY" ,
371- " is_nullable" : " YES" ,
372- },
373- ],
374- }
375- ` ;
376-
377313exports [` db_meta_modules should verify table_template_module table structure 1` ] = `
378314{
379315 " columns" : [
380316 {
381- " column_default" : " uuid_generate_v4 ()" ,
317+ " column_default" : " uuidv7 ()" ,
382318 " column_name" : " id" ,
383319 " data_type" : " uuid" ,
384320 " is_nullable" : " NO" ,
@@ -439,7 +375,7 @@ exports[`db_meta_modules should verify users_module table structure 1`] = `
439375{
440376 " columns" : [
441377 {
442- " column_default" : " uuid_generate_v4 ()" ,
378+ " column_default" : " uuidv7 ()" ,
443379 " column_name" : " id" ,
444380 " data_type" : " uuid" ,
445381 " is_nullable" : " NO" ,
0 commit comments