aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/lnurl_codes.js
blob: 5ed8113515f7f925933c91d4862615c3d93d06a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const up = function(knex) {
  return knex.schema.createTable('lnurl_codes', function(t) {
    t.increments('id').unsigned().primary();

    t.string('code').notNull();
    t.text('text');
    
    t.timestamps();
  })
};

export const down = function(knex) {
  return knex.schema.dropTable('lnurl_codes');
};
>; background: #eaf2ff; } :fullscreen { background-color: white; } input { @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; }