Created
January 26, 2018 15:42
-
-
Save DeadAlready/9936d3ac5dacaca87671e4f391ed2ff7 to your computer and use it in GitHub Desktop.
A setup for transactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE transactions | |
( | |
id INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT, | |
accountId INT(11) NOT NULL, | |
amount DECIMAL(10,2) NOT NULL | |
); | |
INSERT INTO transactions (accountId, amount) VALUES (1, 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment