Hello,

I'm using sequel 5.55.

In a migration I have this:

create_table(:accounts) do
      primary_key :id, :type=>:Bignum
      String :intitule, null: false
end

According to the documentation 
<https://sequel.jeremyevans.net/rdoc/files/doc/schema_modification_rdoc.html>,  
String with no further specification should result in the database type 
varchar(255) :

String :a1                        # varchar(255)

however, after running the migration, the table shows: 

\d+ accounts

 intitule    | *text*                        |

How should I create the datatype character varying? 

Thanks,

Thiebo

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/8e27eb11-dd1a-4d6f-8edc-8b135d0dccdcn%40googlegroups.com.

Reply via email to