Sha256: c351f8a5221fb1bbd4029feb66e2d0861f58633bf05f6d31aaa7e5b60a2debe9
Contents?: true
Size: 791 Bytes
Versions: 6
Compression:
Stored size: 791 Bytes
Contents
Sequel.migration do up do run "CREATE TABLE `extensions` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `active` tinyint(1) unsigned NOT NULL DEFAULT '1', `name` varchar(128) NOT NULL, `namespace` varchar(128) NOT NULL DEFAULT '', `exchange` varchar(255) DEFAULT NULL, `uri` varchar(256) DEFAULT NULL, `user_owner` int(11) unsigned DEFAULT NULL, `group_owner` int(11) unsigned DEFAULT NULL, `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `name_namespace` (`name`,`namespace`), KEY `active` (`active`), KEY `name` (`name`), KEY `namespace` (`namespace`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;" end down do drop_table :extensions end end
Version data entries
6 entries across 6 versions & 2 rubygems