git repos / oastat

sql/create_tables/create_specific.sh

browsing at commit = 9b4c0187fcffdf8370ac7e453393512c7e62fa73

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