github.com/iasthc/atlas/cmd/atlas@v0.0.0-20230523071841-73246df3f88d/internal/cmdapi/testdata/import/dbmate/1_initial.sql (about)

     1  -- migrate:up
     2  CREATE TABLE post
     3  (
     4      id    int NOT NULL,
     5      title text,
     6      body  text,
     7      PRIMARY KEY (id)
     8  );
     9  
    10  /*
    11   Multiline comment ...
    12   */
    13  ALTER TABLE post ADD created_at TIMESTAMP NOT NULL;
    14  
    15  -- Normal comment
    16  -- With a second line
    17  INSERT INTO post (title) VALUES (
    18  'This is
    19  my multiline
    20  
    21  value');
    22  
    23  -- migrate:down
    24  
    25  
    26  DROP TABLE post;