# src/allographer/schema_builder/usecases/sqlite/create_schema

Theme:

- Index

Search:
Group by:

# Imports

../../../utils/snake_to_camel, ../../../query_builder/models/sqlite/sqlite_types, ../../../query_builder/models/sqlite/sqlite_query, ../../../query_builder/models/sqlite/sqlite_exec

# Procs

    proc createSchema(rdb: SqliteConnections; schemaPath = ""): owned(
        Future[void]) {....stackTrace: false, raises: [Exception], tags: [RootEffect,
        WriteDirEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect, TimeEffect,
        ReadDbEffect], forbids: [].}

  if schemaPath is not specified, the schema will be generated in the current directory

  Default schema file name is `getCurrentDir() / "schema.nim"`