Sha256: 5001e4a0b2e550b3a9dbb4ae9baa3009a7b060aaf525d090d3336aacddfd7764
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 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 :users end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
legion-data-0.2.0 | lib/legion/data/migrations/002_add_users.rb |