git repos / oastat

sql/create_tables/create_specific.sh

browsing at commit = 95297dc7f4da2c78f7cd4a6f22575b21404c629d

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