mysimulation/server/FSO.Server.Database/DatabaseScripts/fso_transactions.sql
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

11 lines
No EOL
467 B
SQL
Executable file

CREATE TABLE IF NOT EXISTS `fso_transactions` (
`from_id` int(11) unsigned NOT NULL,
`to_id` int(11) unsigned NOT NULL,
`transaction_type` int(11) unsigned NOT NULL,
`value` int(11) unsigned NOT NULL,
`time_first` int(11) unsigned NOT NULL,
`time_last` int(11) unsigned NOT NULL,
`count` int(11) unsigned NOT NULL,
`value_per_hour` double unsigned NOT NULL,
PRIMARY KEY (`from_id`,`to_id`,`transaction_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;