@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: 'PublicSans';
src: url('/fonts/Public_Sans/static/PublicSans-Regular.ttf') format('truetype');
}
html {
font-family: PublicSans, sans-serif;
}
::selection {
color: black;
background: #eaf2ff;
}
:fullscreen {
background-color: white;
}
input,
textarea {
@apply block border rounded-2xl px-5 py-4 w-full;
}
button.primary {
@apply rounded-full border py-2 font-bold my-4 flex px-4 bg-white mx-auto hover:opacity-80;
}
.select-styles {
@apply border rounded-2xl py-4 px-5;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
background: transparent;
background-image: url('/icons/down.svg');
background-repeat: no-repeat;
background-position-x: 95%;
background-position-y: 1em;
}
'get'>
blob: 8d8418b622b5ed896c8f588f931d5b1dd6cafb31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
exports.up = function(knex) {
return knex.schema.createTable('orders', function(t) {
t.increments('id').unsigned().primary();
t.int('sell_transfer_id').notNull();
t.foreign('sell_transfer_id').references('transfers.id');
t.int('buy_transfer_id').notNull();
t.foreign('buy_transfer_id').references('transfers.id');
// t.int('exchange_id').notNull();
// t.foreign('exchange_id').references('exchanges.id');
t.double('exchange_rate').notNull();
// t.double('amount').notNull();
t.enu('status', ['Submitted', 'Accepted', 'Cancelled']).notNull();
t.date('completion_date')
t.timestamps();
})
}
// Bid / Accepted ... separate into Bid (credit + debit), Accepted (credit + debit)
exports.down = function(knex) {
return knex.schema.dropTable('orders');
};
|