<commit_before>$LOAD_PATH.unshift File.expand_path("../../lib",__FILE__) 
require "sqlize"

schema  = YAML.load File.read(File.expand_path("../schema-v1.0.0.yaml", __FILE__))
defs = SQLize::Definitions.postgres
puts defs.instantiate("/ddl/schema/create-inline", schema)
<commit_msg>Extended the example with inline and non-inline<commit_after>$LOAD_PATH.unshift File.expand_path("../../lib",__FILE__) 
require "sqlize"

schema  = YAML.load File.read(File.expand_path("../schema-v1.0.0.yaml", __FILE__))
defs = SQLize::Definitions.postgres

puts defs.instantiate("/ddl/schema/create-inline", schema)
puts "-"*80
puts defs.instantiate("/ddl/schema/create", schema)

{'fraction_non_alphanumeric': 0.17496229260935142, 'fraction_numerical': 0.012066365007541479, 'mean_word_length': 5.446601941747573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7204091', 'n_tokens_mistral': 246, 'n_tokens_neox': 234, 'n_words': 37}