github.com/naemono/pop@v4.13.1+incompatible/fix/fixtures/anko/pass/0002_happy.plush.fizz (about)

     1  create_table("users") {
     2    t.Column("email", "string", {})
     3    t.Column("twitter_handle", "string", {"size": 50})
     4    t.Column("age", "integer", {"default": 0})
     5    t.Column("admin", "bool", {"default": false})
     6    t.Column("company_id", "uuid", {"default_raw": "uuid_generate_v1()"})
     7    t.Column("bio", "text", {"null": true})
     8    t.Column("joined_at", "timestamp", {})
     9  }
    10  
    11  sql("
    12      INSERT INTO users (email, twitter_handle, joined_at, created_at, updated_at)
    13      VALUES ('foo@example.com', 'Soman1994', now(), now(), now());
    14  ")