All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.org.openl.rules.repository.5.27.8.source-code.openl-db-repository-mysql.properties Maven / Gradle / Ivy

There is a newer version: 5.27.9
Show newest version
# Override queries from openl-db-repository.properties file for specific database or add DB initialization scripts here.
# Initialization scripts must have prefix "init.".
# If the order of init queries is important, give them keys like: init.1.table, init.2.sequence, init.3.something etc
init.1.table = CREATE TABLE ${setting.tablename} (\n\
\    id BIGINT AUTO_INCREMENT PRIMARY KEY,\n\
\    file_name VARCHAR(255) NOT NULL ,\n\
\    author VARCHAR(45),\n\
\    file_comment VARCHAR(255) NULL,\n\
\    modified_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,\n\
\    file_data LONGBLOB\n\
\  );
init.2.index = CREATE INDEX ${setting.tablename}_idx on ${setting.tablename} (file_name ASC)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy