Sha256: efdbb5d7897334efb81309be85ab1e5a90a98bdbd0ba18e5732cab55e4372b29
Contents?: true
Size: 479 Bytes
Versions: 6
Compression:
Stored size: 479 Bytes
Contents
Sequel.migration do up do run "CREATE TABLE `users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `active` tinyint(1) unsigned DEFAULT '1', `name` varchar(128) DEFAULT NULL, `version` tinyint(5) unsigned NOT NULL DEFAULT '1', `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;" end down do drop_table :users end end
Version data entries
6 entries across 6 versions & 2 rubygems