maximozz / solidaria

0 stars 0 forks source link

Create DB table for melting transactions #6

Open maximozz opened 9 years ago

maximozz commented 9 years ago

named custom table 'mozz_melting' make .sql file

CREATE TABLE IF NOT EXISTS mozz_melting ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, amount decimal(14,6) NOT NULL, currency char(3) NOT NULL DEFAULT 'DAR', owner_id bigint(20) unsigned NOT NULL, container_id bigint(20) unsigned NOT NULL, time_committed int(11) NOT NULL, values decimal(14,6) NOT NULL, melts decimal(14,6) NOT NULL, PRIMARY KEY (id), KEY owner_guid (owner_id) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;