Skip to content

Instantly share code, notes, and snippets.

@msassa
Last active January 15, 2020 21:43
Show Gist options
  • Save msassa/541b58637320daff9330b9d480c02810 to your computer and use it in GitHub Desktop.
Save msassa/541b58637320daff9330b9d480c02810 to your computer and use it in GitHub Desktop.
the description for this gist
[{"name":"types","color":"Red","position":{"x":53.98828125,"y":65.9765625},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c23","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":true,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c31","order":1},{"name":"order","type":"integer","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c39","order":2}],"relation":[{"extramethods":"","foreignkeys":"","name":"import","relatedmodel":"imports","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"groups","color":"Red","position":{"x":253.93359375,"y":379.96484375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c102","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":true,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c115","order":1},{"name":"order","type":"integer","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c123","order":2}],"relation":[{"extramethods":"","foreignkeys":"","name":"imports","relatedmodel":"imports","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"dealers","color":"Green","position":{"x":999.9453125,"y":569.90234375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c146","order":0},{"name":"old_id","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c154","order":1},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":true,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c162","order":2},{"name":"start_date","type":"date","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c170","order":3},{"name":"end_date","type":"date","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c178","order":4},{"name":"never_expire","type":"boolean","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c186","order":5},{"name":"user_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c194","order":6},{"name":"temp","type":"boolean","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c202","order":7}],"relation":[{"extramethods":"","foreignkeys":"","name":"imports","relatedmodel":"imports","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"addresses","relatedmodel":"addresses","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"data","relatedmodel":"dealers_data","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"phones","relatedmodel":"phones","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"media","relatedmodel":"media","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"services","relatedmodel":"services","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"imports","color":"Blue","position":{"x":743.98046875,"y":79.96484375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c281","order":0},{"name":"dealer_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c289","order":1},{"name":"group_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c297","order":2},{"name":"type_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c305","order":3},{"name":"cms_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c321","order":4},{"name":"url","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c313","order":5},{"name":"images_qty","type":"integer","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c332","order":6},{"name":"paper_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c461","order":7}],"relation":[{"extramethods":"","foreignkeys":"","name":"group","relatedmodel":"groups","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"type","relatedmodel":"types","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"dealer","relatedmodel":"dealers","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"cms","relatedmodel":"cms","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"cars","relatedmodel":"cars","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"paper","relatedmodel":"papers","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"cms","color":"Yellow","position":{"x":111.95703125,"y":589.9375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c519","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c527","order":1},{"name":"page_query","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c535","order":2},{"name":"use_phantom","type":"boolean","length":"","defaultvalue":"0","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c543","order":3},{"name":"uuid_cms","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c551","order":4}],"relation":[{"extramethods":"","foreignkeys":"","name":"imports","relatedmodel":"imports","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"addresses","color":"Blue","position":{"x":1760.9609375,"y":22.93359375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1104","order":0},{"name":"title","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c924","order":1},{"name":"address","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c932","order":2},{"name":"city","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c940","order":3},{"name":"state","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c948","order":4},{"name":"zipcode","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c956","order":5},{"name":"country","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c964","order":6},{"name":"lat","type":"decimal","length":"10,6","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c972","order":7},{"name":"lng","type":"decimal","length":"10,6","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c980","order":8},{"name":"dealer_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1004","order":9}],"relation":[{"extramethods":"","foreignkeys":"","name":"dealer","relatedmodel":"dealers","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"dealers_data","color":"Blue","position":{"x":1816.92578125,"y":761.9453125},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1112","order":0},{"name":"key","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1078","order":1},{"name":"value","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1088","order":2},{"name":"dealer_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1096","order":3}],"relation":[{"extramethods":"","foreignkeys":"","name":"dealer","relatedmodel":"dealers","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"phones","color":"Blue","position":{"x":1464.96875,"y":970.93359375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1289","order":0},{"name":"title","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1297","order":1},{"name":"phone","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1305","order":2},{"name":"dealer_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1313","order":3}],"relation":[{"extramethods":"","foreignkeys":"","name":"dealer","relatedmodel":"dealers","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"cars","color":"Grey","position":{"x":1229.9453125,"y":30.94921875},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1474","order":0},{"name":"title","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1482","order":1},{"name":"url","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1490","order":2},{"name":"import_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":true,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1498","order":3},{"name":"OTHER_FIELDS","type":"string","length":"100","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c1530","order":4}],"relation":[{"extramethods":"","foreignkeys":"","name":"import","relatedmodel":"imports","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"media","relatedmodel":"media","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"media","color":"Red","position":{"x":1429.92578125,"y":439.93359375},"increment":false,"timestamp":false,"softdelete":false,"column":[{"name":"model_type","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c336","order":0},{"name":"model_id","type":"bigInteger","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c344","order":1}],"relation":[],"seeding":[]},{"name":"services","color":"Grey","position":{"x":520.984375,"y":849.984375},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c314","order":0},{"name":"title","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c322","order":1},{"name":"content","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c330","order":2},{"name":"url","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c338","order":3},{"name":"active","type":"boolean","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c346","order":4},{"name":"dealer_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c354","order":5},{"name":"category_id","type":"boolean","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c362","order":6}],"relation":[{"extramethods":"","foreignkeys":"","name":"dealer","relatedmodel":"dealers","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"category","relatedmodel":"services_cats","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"services_cats","color":"Grey","position":{"x":48.97265625,"y":1037.9765625},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c381","order":0},{"name":"name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c389","order":1}],"relation":[{"extramethods":"","foreignkeys":"","name":"services","relatedmodel":"services","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"papers","color":"Yellow","position":{"x":2092.96875,"y":32.96484375},"increment":false,"timestamp":false,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c437","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c445","order":1},{"name":"location_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c453","order":2}],"relation":[{"extramethods":"","foreignkeys":"","name":"location","relatedmodel":"locations","relationtype":"belongsTo","usenamespace":""}],"seeding":[]},{"name":"locations","color":"Yellow","position":{"x":2039.96875,"y":357.96484375},"increment":false,"timestamp":false,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c519","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c527","order":1},{"name":"region_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c535","order":2}],"relation":[{"extramethods":"","foreignkeys":"","name":"region","relatedmodel":"regions","relationtype":"belongsTo","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"papers","relatedmodel":"papers","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"regions","color":"Yellow","position":{"x":2126.98046875,"y":735.984375},"increment":false,"timestamp":false,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c588","order":0},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c596","order":1}],"relation":[{"extramethods":"","foreignkeys":"","name":"locations","relatedmodel":"locations","relationtype":"hasMany","usenamespace":""}],"seeding":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment