git repos / oastat

sql/create_tables/create_specific.sh

browsing at commit = 9ec6d75af0ca800e4f8186d5f6c9000cf53b8103

raw · blame · history

cat oastat_create_tables_common.sql | grep -v "RESTRICT2MYSQL" | sed -e 's/SERIAL/BIGSERIAL/g' -e 's/DATETIME/TIMESTAMP/g' > oastat_create_tables_posgrel.sql
cat oastat_create_tables_common.sql | grep -v "RESTRICT2POSTGRESQL" | sed -e 's/PRIMARY KEY//g'  > oastat_create_tables_mysql.sql